<div>Yes,gdb could be a solution,but my final goal is to automalize the linking procedure just like what the GNU build system does,gdb may not works for that.</div>
<div> </div>
<div>So,some others mentioned gold-plugin can work for some certain problems,I don't know how they archieve this.</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">2009/9/19 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">2009/9/18 zhunan <<a href="mailto:zhunansjtu@gmail.com">zhunansjtu@gmail.com</a>>:<br>
<div class="im">> Yes,but ubuntu's directory structure is not exactly the same as the<br>> classic linux distribute,<br>><br>> I put libLLVMgold.so in /usr/lib/gcc/i486-linux-gnu/4.2.4 where cc1 is<br>> also in.<br>
><br>> Strange situation,is it a bug for llvm-gcc????<br><br></div>Could be. Are you comfortable using gdb? Last time I looked it<br>was working for me.<br>
<div>
<div></div>
<div class="h5"><br>Cheers,<br>--<br>Rafael Avila de Espindola<br></div></div></blockquote></div><br>