This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-ss: Can't find include files...


I installed egcs-ss-19990418-1.i386.rpm (and C++,G77,libstdc++) onto a
Linux Redhat 5.2 machine.

I am trying to compile a simple program but I get this:

[craig@genu]$  g++ -c bob.cpp
g++: bob.cpp: No such file or directory
g++: No input files

The top of bob.cpp is a "#include <iostream>", but it can not seem to
find it.

It works if I do "g++ -I/usr/include/g++ -c bob.cpp".

How do I get it to look in /usr/include/g++ by deafult?

Thanks.

Craig.
craig@msmri.medicine.ubc.ca



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]