Bug#697127: fatal error: 'bits/c++config.h' file not found

Mathieu Malaterre malat at debian.org
Sun Jan 6 18:21:56 UTC 2013


tags 697127 confirmed
thanks

While working on: #697199  I could also not get clang++ to work from
my sid/32bits schroot. It kept on failing with:

$ clang++ -o plop foo.cpp
In file included from foo.cpp:2:
/usr/bin/../lib/gcc/i486-linux-gnu/4.7/../../../../include/c++/4.7/iostream:38:10:
fatal error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
         ^
1 error generated.


Indeed the file is not in i486-* but in i386-* subdir:

$ dpkg -L libstdc++6-4.7-dev | grep c++con
/usr/include/i386-linux-gnu/c++/4.7/bits/c++config.h


HTH



More information about the Pkg-llvm-team mailing list