This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

Re: where is iostream.h, fstream.h, ...


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

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