Hi,all I'm using ubuntu8.04 and I'm installing gold-plugin along with the document of that, After I built the binutils and LLVM with plugin enabling,and I also replace ld with ld-new which supports plugin,I tried to compile a hello world program by this: 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? Thanks! Nan
> 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 >Cheers, -- Rafael Avila de Espindola Google | Gordon House | Barrow Street | Dublin 4 | Ireland Registered in Dublin, Ireland | Registration Number: 368047
Yes,it's indeedly the correct one,and new ld can also support -plugin option,I don't know the reason of the trouble, 2009/9/17 Rafael Espindola <espindola at google.com>> > 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 > > > > > Cheers, > -- > Rafael Avila de Espindola > > Google | Gordon House | Barrow Street | Dublin 4 | Ireland > Registered in Dublin, Ireland | Registration Number: 368047 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090918/ffcfbee0/attachment.html>
Apparently Analagous Threads
- [LLVMdev] Where should I put libLLVMgold.so??
- [LLVMdev] Where should I put libLLVMgold.so??
- [LLVMdev] Where should I put libLLVMgold.so??
- [LLVMdev] Where should I put libLLVMgold.so??
- [LLVMdev] CVS binutils includes support for plugins, can use the llvm plugin.