<div>Thanks to  Duncan and Óscar Fuentes.  With your help i have known the reason.</div>
<div> </div>
<div>I do install another software/tool  in tools/IUS611/tools/lib and unfortunately</div>
<div>the tool's lirary file has the same name with gcc/g++'s, so error occurs.</div>
<div> </div>
<div>After i modify LD_LIBRARY_PATH, i build the llvm successfully</div>
<div> </div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">2009/10/20, Duncan Sands <<a href="mailto:baldrick@free.fr">baldrick@free.fr</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Heyu Zhu,<span class="q"><br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">According to your description i should not use the system libstdc++ and i need to<br>specify the OTHER compiler libstdc++. But i don't where the OTHER compiler<br>
libstdc++ is.<br>Is the  OTHER compiler libstdc++ contained in llvm-2.5.tar.gz? if not where can i get it?<br></blockquote><br></span>this has nothing to do with llvm, you would have the same problem with<br>any C++ code that uses the C++ standard library.  As far as I can see<br>
you have installed a second compiler under /tools/IUS611/tools/.  Try<br>looking for libstdc++ in /tools/IUS611/tools/lib.<br><br>Ciao,<br><span class="sg"><br>Duncan.<br></span></blockquote></div><br>