[LLVMdev] Linking library files using llvmc

Mikhail Glushenkov foldr at codedgers.com
Thu Oct 8 17:32:45 PDT 2009


Hi Ravi,

Ravi Chandhran <kmrc87 <at> gmail.com> writes:

> 
> I was using llvmc along with the -opt option to perform static analyzes in
some of the commonly used programs like bzip2, gzip, grep etc. I found that when
llvmc is used to link libraries (.a or .so files) using the -l option it passes
the library files to the linker ( for me it was llvm-gcc itself) but changes the
order in which it was given to llvmc. 

Try a recent SVN version, this was fixed just yesterday:

http://article.gmane.org/gmane.comp.compilers.llvm.cvs/59485




More information about the llvm-dev mailing list