[LLVMdev] Where should I put libLLVMgold.so??

Rafael Espindola espindola at google.com
Thu Sep 17 06:49:54 PDT 2009

> llvm-gcc -use-gold-plugin a.a b.o -o hello
> which is similar with the example in the document,it tells me that
> libLLVMgold.so can not be found ,but I truly put it in the directory
> which is the same as the cc1's.
> What's the problem with my libLLVMgold.so's position?

That looks correct. Can you check that
*) It is the correct cc1 :-) (run llvm-gcc with -v)
*) It works if you call gold directly with it

> Thanks!
> Nan

Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047

More information about the llvm-dev mailing list