Problem with include path

Groschopf, Leonhard Leonhard.Groschopf@fh-vie.ac.at
Wed Apr 7 11:04:00 GMT 2004


Hello,

I have a problem with –I option of gcc. I am using: Redhat 7.2; Kernal 
2.4.7-10 and gcc 2.96. When I am trying to compile I get the error: 

 /usr/g++-v3/bits/std_iosfwd.h:39:28: bits/c++config.h: No such file or 
directory

So I checked std_iosfwd.h and it includes c++config.h using:
#include <bits/c++config.h>

I could find the c++config.h file at:
/usr/include/g++-v3/i386-redhat-linux/bits/c++config.h
/usr/include/g++-v3/c++config.h

Because std_iosfwd.h wants something with bits I tried this two –I 
options:
-I /usr/include/g++-v3/i386-redhat-linux/bits
-I /usr/include/g++-v3/i386-redhat-linux

The c++config.h file was still not found by the gcc.
Please could anybody help me?

Thank you!!



More information about the Gcc-help mailing list