alexmherrmann
alexmherrmann

Reputation: 1073

Clang 3.2 build broken after building gcc 4.7

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

Upvotes: 3

Views: 3791

Answers (1)

Jonathan Wakely
Jonathan Wakely

Reputation: 171263

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

Upvotes: 5

Related Questions