[LLVMdev] libLTO on linux
Chris Lattner
clattner at apple.com
Sat Nov 29 22:56:24 PST 2008
On Nov 29, 2008, at 10:44 PM, Chandler Carruth wrote:
>>
>> If we're going to build a .so file, we need those .o's to be built
>> with
>> -fPIC. As far as I can see, configuring LLVM with --enable-pic
>> actually
>> does that already, so perhaps we can make it the default.
>>
>> But that warning isn't about PIC, it's about the fact that the .o's
>> weren't compiled with libtool. It's looking for the matching .lo
>> files.
>
> My question is this, why use libtool to build the .so? I don't see
> what libtool helps with here, and it is a nightmare to use in general.
> Why not directly use the gcc driver?
I'd love to rip out libtool. What benefit does it provide?
-Chris
More information about the llvm-dev
mailing list