问题
So I know Clang depends (most of the time) on Gnu's libstdc++3, but after building gcc 4.7.0 (cuz' of awesome!) I seem to have run into a problem, all the paths for clang are wrong. Do I need to clean my build directory and start from scratch for clang, specifically it gives me the error bits/c++config.h missing, although it is there and builds just fine with gcc
I am on Linux x86, Ubuntu 12.04
回答1:
Yes, the paths for GCC's headers and libs include the version, 4.7.0 in your case, so you'll need to rebuild clang with --with-gcc-toolchain=...
and reinstall it
来源:https://stackoverflow.com/questions/10809371/clang-3-2-build-broken-after-building-gcc-4-7