[LLVMdev] Problem when build LLVM

Heyu Zhu zhu.heyu at gmail.com
Tue Oct 20 06:59:58 PDT 2009


Thanks to  Duncan and Óscar Fuentes.  With your help i have known the
reason.

I do install another software/tool  in tools/IUS611/tools/lib and
unfortunately
the tool's lirary file has the same name with gcc/g++'s, so error occurs.

After i modify LD_LIBRARY_PATH, i build the llvm successfully






2009/10/20, Duncan Sands <baldrick at free.fr>:
>
> Hi Heyu Zhu,
>
> According to your description i should not use the system libstdc++ and i
>> need to
>> specify the OTHER compiler libstdc++. But i don't where the OTHER compiler
>> libstdc++ is.
>> Is the  OTHER compiler libstdc++ contained in llvm-2.5.tar.gz? if not
>> where can i get it?
>>
>
> this has nothing to do with llvm, you would have the same problem with
> any C++ code that uses the C++ standard library.  As far as I can see
> you have installed a second compiler under /tools/IUS611/tools/.  Try
> looking for libstdc++ in /tools/IUS611/tools/lib.
>
> Ciao,
>
> Duncan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091020/1abcb2f1/attachment.html>


More information about the llvm-dev mailing list