cannot find include files

Jack Lam jack_lam_98@yahoo.com
Wed Jun 26 12:52:00 GMT 2002


Hi,
I have problem with installing and using g++ in
cygwin.
I have installed gcc-3.1 by issueing the following
commands:

cd /var/local  # the ungzip and un-tar gcc-3.1
directory
mkdir objdir
cd objdir
../gcc-3.1/configure --with-as=/usr/bin/as \
--with-ld=/usr/bin/ld \
--prefix=/usr 
make bootstrap
make install

After the installation, when I compile any c++
programs, I got the following error messages such as:
`string' undeclared (first use this function)
`cout' undeclared (first use this function)
`endl' undeclared (first use this function)

Please instruct on how to make it works.
Thank you


=====
Jack Lam

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the Gcc mailing list