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

Eric Christopher echristo at apple.com
Wed Sep 1 14:46:00 PDT 2010


On Sep 1, 2010, at 2:40 PM, 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.

Probably not the right set of include paths in the binary.  Which version of Red Hat Linux are you using and what gcc/g++ and libstdc++ do you have installed?

-eric



More information about the cfe-dev mailing list