This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: where is iostream.h, fstream.h, ...
- To: libstdc++ at sourceware dot cygnus dot com, pedwards at disaster dot jaj dot com
- Subject: Re: where is iostream.h, fstream.h, ...
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Date: Tue, 11 Jul 2000 20:06:52 -0500 (CDT)
They are in backward.
Add: -Ibackward to your gcc command line to make them visible. Actually
you have to add the full path to where they are installed. E.g.:
S rittle@latour; cat >t.C
#include <iostream.h>
int main(){cout <<"hi"<<endl;}
S rittle@latour; /usr/local/beta-gcc/bin/g++ t.C
t.C:1:21: iostream.h: No such file or directory
S rittle@latour; /usr/local/beta-gcc/bin/g++ -I/usr/local/beta-gcc/include/g++-v3/backward t.C
S rittle@latour; a.out
hi
Regards,
Loren