Clang 3.2 build broken after building gcc 4.7

3.7k Views Asked by At

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

There are 1 best solutions below

5
On BEST ANSWER

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