Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Apple vs. FSF and gcc 4.2.1



>  > I think that is LLVM, which uses GCC as the front-end. Clang is the
>  > replacement front-end to wean people off GCC completely:
>  >   http://llvm.org/
> 
> LLVM is the whole toolchain.  clang is a new front-end which produces
> LLVM-IR (intermediate representation) directly.  llvm-gcc and the
> in-development dragonegg GCC plug-in use the GCC parser, convert GCC's
> IR to LLVM-IR, and then use LLVM's optimizer and code generator to
> finish the job.

Hello Steve,
Were you correcting my answer, or fleshing it out? :-) (I.e. once I have
llvm and clang on my machine, can I compile C/C++ into a binary, or do I
still need gcc for one of the steps?) (I'm thinking linux here, though I
thought the answer for Mac and Windows was the same too.)

> I'm looking forward to debugging optimized code and getting sane
> backtraces!

Yes, the idea of a useful compile error, instead of what gcc spits out
(which I normally have to put into google to get interpreted), is really
attractive.

Darren


-- 
Darren Cook, Software Researcher/Developer

http://dcook.org/work/ (About me and my work)
http://dcook.org/blogs.html (My blogs and articles)


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links