On 07/16/2013 05:21 AM, Tilmann Scheller wrote:> Hi Reed, > > I’ve used Eclipse for a long time to do LLVM development on Linux (both for code navigation/editing and debugging), any recent Linux distribution and version of Eclipse should be fine (even older versions should be good enough as this has been working for many years). > > Xcode works fine as well, I started to use Xcode exclusively when I switched to OS X. > > The key to make this work is to use CMake to generate project files for Eclipse/Xcode, you can do this by specifying the appropriate generator on the command line e.g. -G Xcode or -G "Eclipse CDT4 - Unix Makefiles”. Then you can just open the generated project file. Mind you, the generated projects are kind of ugly e.g. the Xcode project has like more than 200 targets but apart from that they are working fine. > > In terms of key bindings both Eclipse and Xcode ship with Emacs key bindings and there are plugins which allow you to use vim key bindings as well. With Eclipse I’ve been using the Viable plugin for that and for Xcode there is Xvim. > > Hope this helps :) > > Regards, > > TilmannHave you had trouble with the C++ indexer getting stuck in some kind of infinite loop indexing. It's happening to me with this Cmake (but happened too without cmake). Seems to be a common problem. I have a giant mac at home and am thinking of maybe switching to mac at work to get a reasonable IDE that is reliable.> > On Jul 16, 2013, at 1:05 PM, reed kotler <rkotler at mips.com> wrote: > >> Is anyone using Eclipse and gdb to debug llvm/clang? >> If so, which version of Eclipse, gdb and linux flavor. >> >> I just use gdb currently. >> >> I'm going to try using my mac also. >> Is anyone using xcode/lldb to debug llvm/clang? >> >> Tia. >> >> Reed >> >> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
The Eclipse indexer seems to get stuck in the Clang unittests/AST>> Hope this helps :) >> >> Regards, >> >> Tilmann > > Have you had trouble with the C++ indexer getting stuck in some kind of > infinite loop indexing. > > It's happening to me with this Cmake (but happened too without cmake). > > Seems to be a common problem. > > I have a giant mac at home and am thinking of maybe switching to mac at > work to get a reasonable IDE that is reliable. > >> >> On Jul 16, 2013, at 1:05 PM, reed kotler <rkotler at mips.com> wrote: >> >>> Is anyone using Eclipse and gdb to debug llvm/clang? >>> If so, which version of Eclipse, gdb and linux flavor. >>> >>> I just use gdb currently. >>> >>> I'm going to try using my mac also. >>> Is anyone using xcode/lldb to debug llvm/clang? >>> >>> Tia. >>> >>> Reed >>> >>> >>> >>> _______________________________________________ >>> LLVM Developers mailing list >>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On 07/16/2013 06:01 PM, Reed Kotler wrote:> The Eclipse indexer seems to get stuck in the Clang unittests/AST >In Eclipse you can tell it that a given directory is derived, and then it won't try and index it. Probably the more complex clang tests are too involved for the indexer.>>> Hope this helps :) >>> >>> Regards, >>> >>> Tilmann >> >> Have you had trouble with the C++ indexer getting stuck in some kind of >> infinite loop indexing. >> >> It's happening to me with this Cmake (but happened too without cmake). >> >> Seems to be a common problem. >> >> I have a giant mac at home and am thinking of maybe switching to mac at >> work to get a reasonable IDE that is reliable. >> >>> >>> On Jul 16, 2013, at 1:05 PM, reed kotler <rkotler at mips.com> wrote: >>> >>>> Is anyone using Eclipse and gdb to debug llvm/clang? >>>> If so, which version of Eclipse, gdb and linux flavor. >>>> >>>> I just use gdb currently. >>>> >>>> I'm going to try using my mac also. >>>> Is anyone using xcode/lldb to debug llvm/clang? >>>> >>>> Tia. >>>> >>>> Reed >>>> >>>> >>>> >>>> _______________________________________________ >>>> LLVM Developers mailing list >>>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev