<span class="q">
<div> </div>
<div>According to your description i should not use the system libstdc++ and i need to </div>
<div>specify the OTHER compiler libstdc++. But i don't where the OTHER compiler </div>
<div>libstdc++ is.</div>
<div>Is the OTHER compiler libstdc++ contained in llvm-2.5.tar.gz? if not where can i get it?</div>
<div> </div></span><br><br>
<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">Then then the error is:<br> /tools/IUS611/tools/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)<br>
</blockquote><br></span>you can get this if you compile C++ code using a different compiler to<br>your system compiler. Based on the error message, your system compiler<br>is gcc-4.2 and the other compiler is probably gcc-4.3 or later. What<br>
has happened is that LLVM has been linked using the system libstdc++,<br>which is from gcc-4.2, and which requires libgcc from the same version<br>of gcc, namely gcc-4.2. However it is getting libgcc from the other<br>compiler and complaining. What you need to do is to link with the<br>
version of libstdc++ that came with the other compiler.<br><br>Ciao,<br><span class="sg"><br>Duncan.<br></span></blockquote></div><br>