[LLVMdev] Is the option --enable-shared discontinued in 2.7?

Yuri yuri at tsoft.com
Wed Apr 28 01:42:52 PDT 2010


Jeffrey Yasskin wrote:
> I just tried it again on trunk (not 2.7) on OSX 10.5, and it works.
> What platform are you on? Does it work with another version of gcc?
>   

Looks like this is platform dependent. libLLVM-2.7.so created has size 
only 4145 bytes and all llvm symbols are missing.
It's empty because there are no .o modules included into it, only 
libraries through -l options were specified in g++ command line.
Libraries normally are specified with -l option to resolve unknown 
imports, not to be just included into .so library.

All .o files should be listed in the command line instead.

Yuri




More information about the llvm-dev mailing list