I'm trying to compile some C++ stuff on a Red Hat 8 machine. I get the error:
fstream.h: No such file or directory
so I did this:
locate fstream.h
and got this:
/usr/include/c++/3.2/backward/fstream.h
So it looks like I need to get /usr/include/c++/3.2/backward into the include path for gcc somehow. Can anyone remind me how that is done?
Bryan
From `man gcc`, under 'Options Controlling the Preprocessor':
>>>
-I dir
Add the directory dir to the list of directories to be searched for
header files. Directories named by -I are searched before the
standard system include directories. If the directory dir is a
standard system include directory, the option is ignored to ensure
that the default search order for system directories and the spe-
cial treatment of system headers are not defeated .
<<<-Hyrum
-- High-Altitude Amateur Ballooning - http://icarus.byu.edu
This message is digitally signed to show that it originated from Hyrum Wright. If you know what digitally signed email is, and your email software supports it, download the key for [EMAIL PROTECTED] from hkp://pgp.mit.edu.
GnuPG Fingerprint: 62B3 E69E 8982 C407 95C0 2182 E80D 6D27 1CD9 143B
signature.asc
Description: OpenPGP digital signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
