clang++ - Fatal error: 'bits/c++config.h' file not found -
i'm using clang 2.9, compiled source , when try compile simple code this:
#include <iostream> int main (){ std::cout << "hello\n"; }
i error:
/usr/include/c++/4.5/string:39:10: fatal error: 'bits/c++config.h' file not found
when include /usr/include/c++/4.5/i686-linux-gnu
, get
/usr/bin/ld: cannot find crt1.o: no such file or directory /usr/bin/ld: cannot find crti.o: no such file or directory /usr/bin/ld: cannot find crtbegin.o: no such file or directory /usr/bin/ld: cannot find -lstdc++ /usr/bin/ld: cannot find -lgcc_s /usr/bin/ld: cannot find -lgcc clang: error: linker command failed exit code 1 (use -v see invocation)
any ideas on how solve one?
Comments
Post a Comment