This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-ss: Can't find include files...
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: egcs-ss: Can't find include files...
- From: Craig Jones <craig at msmri dot medicine dot ubc dot ca>
- Date: Mon, 26 Apr 1999 11:59:58 -0700
- Organization: MS/MRI Research Group
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