• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: LLVM 2.6 Released / Can it be used with Xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LLVM 2.6 Released / Can it be used with Xcode?


  • Subject: Re: LLVM 2.6 Released / Can it be used with Xcode?
  • From: "M. Moore" <email@hidden>
  • Date: Tue, 22 Dec 2009 10:08:50 -0800

Thank you!

On Tue, Dec 22, 2009 at 9:10 AM, Jean-Daniel Dupas
<email@hidden> wrote:
>
> Le 22 déc. 2009 à 16:56, Sean McBride a écrit :
>
>> On 10/29/09 11:03 AM, Jean-Daniel Dupas said:
>>
>>> I can't answer for the "wise" part, but it is possible.
>>> I'm using an up-to-date version of clang/llvm with Xcode, and although
>>> I'm pretty sure it's "not supported", it works quite well.
>>> llvm 2.6 is a stable released, but as clang has not really reached
>>> it's first full feature version, I prefer working with the trunk
>>> version (the LLVM and clang teams do their best to maintain a clean
>>> and working TOT).
>>>
>>> You just have to replace 2 files and 1 directory in your developer
>>> folder.
>>>
>>> /Developer/usr/bin/clang
>>> /Developer/usr/libexec/clang-cc
>>>
>>> /Developer/usr/lib/clang/
>>
>> Jean-Daniel,
>>
>> I've just had time to try this... are those really the only 3 files you
>> replaced?  I download the 2.6 binaries and their distribution has the
>> usual UNIXy bin-lib-man folders.  There are hundreds of files in there,
>> did you just ignore the others?
>>
>> Thanks,
>
> Yes, they are. For practical reason, llvm uses static library (see, they are all .a file in lib).
> So as clang and clang-cc are statically linked, they are autonomous and don't need any other library.
> Note that if you use the latest clang release (svn trunk), clang-cc is no longer required (it no longer exists), and you need clang binary only.
>
> The only dylib is libLTO that is used for LTO (surprising isn't it ;-)). Link Time Optimization is disabled by default and ld uses this library only if you enable LTO in Xcode. As I never managed to compile an application using LTO without getting a lots of duplicate symbol errors, I didn't bother to try to replace it with a more recent version.
>
> -- Jean-Daniel
>
>
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: LLVM 2.6 Released / Can it be used with Xcode? (From: "Sean McBride" <email@hidden>)
 >Re: LLVM 2.6 Released / Can it be used with Xcode? (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: LLVM 2.6 Released / Can it be used with Xcode?
  • Next by Date: unions named the same cause compiler error
  • Previous by thread: Re: LLVM 2.6 Released / Can it be used with Xcode?
  • Next by thread: unions named the same cause compiler error
  • Index(es):
    • Date
    • Thread