[cfe-dev] fatal error: 'bits/c++config.h' file not found

Vladimir Kirillov proger at uaoug.org.ua
Wed Sep 1 15:00:19 PDT 2010


On 16:40 Wed 01 Sep, Wei Li wrote:
> Hi :
> 
> I am getting the follwing error when I compile a simple C++ program.
> 
> fatal error: 'bits/c++config.h' file not found
> 
> 
> I am using RedHat system.  I tried to find the c++config file but
> could not find it it. I checked the  /usr/include/c++/4.4.0/bits path.

You're likely to be missing machine dependent includes.

This is how I call clang++ on OpenBSD with libestdc++:

-I/usr/local/include/c++/4.2.4
-I/usr/local/include/c++/4.2.4/i386-unknown-openbsd4.8
-I/usr/local/include/c++/4.2.4/backward
-L/usr/lib/gcc-lib/i386-unknown-openbsd4.7/4.2.1
-L/usr/local/lib



More information about the cfe-dev mailing list