<div>Yes,it's indeedly the correct one,and new ld can also support -plugin option,I don't know the reason of the trouble,</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">2009/9/17 Rafael Espindola <span dir="ltr"><<a href="mailto:espindola@google.com">espindola@google.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">> llvm-gcc -use-gold-plugin a.a b.o -o hello<br>><br>> which is similar with the example in the document,it tells me that<br>> libLLVMgold.so can not be found ,but I truly put it in the directory<br>
> which is the same as the cc1's.<br>><br>> What's the problem with my libLLVMgold.so's position?<br><br></div>That looks correct. Can you check that<br>*) It is the correct cc1 :-) (run llvm-gcc with -v)<br>
*) It works if you call gold directly with it<br><br>> Thanks!<br>><br>> Nan<br>><br><br><br>Cheers,<br><font color="#888888">--<br>Rafael Avila de Espindola<br><br>Google | Gordon House | Barrow Street | Dublin 4 | Ireland<br>
Registered in Dublin, Ireland | Registration Number: 368047<br></font></blockquote></div><br>