[cfe-dev] LTO on FreeBSD
Jean-Daniel Dupas
devlists at shadowlab.org
Wed Jun 30 08:09:33 PDT 2010
Le 30 juin 2010 à 16:58, SKL a écrit :
>>>
>>> What about llvm-ld? Should it not be useable as a linker on FreeBSD?
>>
>> llvm-ld is half-baked at best, it doesn't know a lot of options that your system linker does. It may work for simple things, but probably not for largish real world programs.
>
> Ah, I had been curious about this as well. Is the long-term goal for llvm-ld to be a full drop-in replacement for the system linker?
>
> So, my original assumption that the OS X clang is using ld with the gold plugins was correct? If so, I'm curious where it's hidden away. I see a lot of libLLVMContainer.dylib files under the /Developer tree, but no files relating to "gold" anywhere.
No. Apple ld is not GNU ld and it does not use the gold plugin. It uses libLTO.dylib directly (if present).
-- Jean-Daniel
More information about the cfe-dev
mailing list