On Jun 5, 2012, at 10:40 AM, Nick Zitzmann wrote:

> That is correct; LLVM-GCC is just a front-end for LLVM that accepts GCC-style 
> command line options.

Not really. It's more correct to say that it _is_ GCC, just with the code 
generator replaced by LLVM. The parsing is 100% GCC. The benefit is that it 
should generate better code (and it will take advantage of future code-gen 
improvements in LLVM.)


On Jun 5, 2012, at 10:45 AM, Vojtěch Meluzín wrote:

> Btw. the new compiler is more reliable than GCC? I checked the project site
> and I'm a little confused about what it actually is... seems like a simple
> wrapper for GCC to me…

The 'new compiler' is Clang, which has no code in common with GCC at all. It's 
an entirely new C/C++/Obj-C front-end that generates LLVM bytecode which is 
then converted to machine code by the LLVM compiler. The advantages include 
faster parsing and the ability to easily embed it in an IDE (which is how Xcode 
4 does its fancy parsing-while-you-type). I'm told the implementation is a lot 
cleaner and more maintainable than GCC, too.


This thread should really, really move to the xcode-users list.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to