[LLVMdev] Problem when build LLVM

Óscar Fuentes ofv at wanadoo.es
Tue Oct 20 03:29:33 PDT 2009


Heyu Zhu <zhu.heyu at gmail.com> writes:

> 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?

g++ should use the right libstdc++ automatically. If it doesn't, most
probable cause is a defective installation.

Start by compiling a simple C++ program like this:

#include <iostream>

int main() {
    std::cout << "Hello!";
}

(compile it with g++)

If that fails with the same error, you need to fix your C++ setup. A
forum or mailing list of gcc users is the right place for helping you on
that.

-- 
Óscar




More information about the llvm-dev mailing list