[cfe-dev] Using clang/LLVM components in conventional apps?

Chris Lattner clattner at apple.com
Fri Jun 26 11:22:13 PDT 2009


On Jun 26, 2009, at 11:20 AM, Alexei Svitkine wrote:

> On a similar note, I was recently wondering...
>
> How would one make clang appear as one of the compilers in the
> drop-down GUI in Xcode?
>
> Is there some information on this somewhere?

Which version of Xcode?  Since clang is a drop in replacement for GCC,  
one hack is to change the /Developer/usr/bin/gcc symlink to point to  
clang.

-Chris

>
> -Alexei
>
> On Fri, Jun 26, 2009 at 11:39 AM, Dallman, John<john.dallman at siemens.com 
> > wrote:
>> Douglas Gregor [mailto:dgregor at apple.com] wrote:
>>
>>> Clang produces conventional .o files that are 100% binary-compatible
>>> with GCC.
>>
>> Splendid! I'll give it a try when we upgrade our build standard to  
>> Mac
>> OS X 10.6 and a newer Xcode than 3.0. Currently, we have stable
>> production
>> on those tools, and we can't just change without giving customers
>> notice.
>>
>> --
>> John Dallman
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list