[LLVMdev] gcc4 or gcc3?

Hendrik Boom hendrik at topoi.pooq.com
Mon Aug 7 11:35:25 PDT 2006


I just downloaded the CVS version of llvm and llvm-test.  Presumably
this is the one that's scheduled to become 1.8 in a few days.

(1) To install llvm, do I really need the llvm version of the gcc front
end? I have no special interest in yet another c/c++ conmpiler.

(2) If I need llvm gcc, will the binary version suffice, or do I need
to compile the CVS version?

(3) If I need its source code, does it properly fit within the
llvm/projects directory, just like the test suite?  And it that where I
should execute the cvs co, like like the test suite?  Or is it so
independent that I should put it totally elsewhere in the file
system?

(4) The page http://llvm.org/docs/GettingStarted.html#checkout says to get
the gcc 3.4 source code.
The instructions to compile it in http://llvm.org/docs/CFEBuildInstrs.html
seem to deal in gcc 3 and gcc 4 instead.  Is this an error in the
documentation, or does it indicate that I should compile the llvm-gcc 3.4
source code with GNU's gcc versions 3 or 4 depending on what;'s already
installed on my system.

-- hendrik








More information about the llvm-dev mailing list