gcc: 'iostream: not found' ???

gcc: 'iostream: not found' ???

Post by Den » Tue, 29 Jun 1999 04:00:00



I'm  trying to run gcc my.c  and it always says 'iostream: not found'
There is such file in /usr/include/g++
What should I assigned to run it successfully ?
I've already included it my PATH.

Thanks.
Den

 
 
 

gcc: 'iostream: not found' ???

Post by Noah L. Meyerhan » Tue, 29 Jun 1999 04:00:00


-----BEGIN PGP SIGNED MESSAGE-----

: I'm  trying to run gcc my.c  and it always says 'iostream: not found'
: There is such file in /usr/include/g++

iostream is a C++ class.  gcc is a C compiler.  If you are using iostream
in my.c, you should rename my.c to my.C and run 'g++ my.C'.

noah

- --

  PGP public key available at
  http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN3dzYYdCcpBjGWoFAQG2BQP/fTxz0thrLzlY8QiPto7eym/FWqU/X4J/
+2FFPaEuU6BNqyao/ccJ9igvnn93CCupQiFRkXxNWQENLmM/E/9eVqcz53xZyf4U
rgYVsARZPteYU4K+OOltGXARfkWMobMUGHjnyCZYJhXAZcsH/QXgG6P5N5s+bwEJ
prOJuoxLRT0=
=W0Ea
-----END PGP SIGNATURE-----

 
 
 

1. 'gcc' can not find 'as'

        We installed gcc 2.95.3 from www.bull.de with all dependent packages,
        and we get :

        gcc -O2 -Wall -DUNIX -g -I../include -I../lang -c file_util.c -o\
                                                                file_util.o
        gcc: installation problem, cannot exec `as': No such file or directory

        There is no binary named 'as' in the whole filesystem.
        What to check, what extra packages to install ? Please suggest.
        Thanks in advance for your replies.

2. RH5.0 and Adaptec AHA1542 SCSI adapter

3. gcc can't find iostream.h

4. Setting sendmail= in mmdf

5. gcc 2.7.2 upgrade in slackware (iostream.h) not found

6. PPP Internet connection + LAN + manual dial-up from workstations

7. 'Find' 'Updatedb' or find database replacement for Solaris 2.X?

8. telnet source code need!

9. g++ can't find <iostream.h>?

10. can't find iostream.h !!!

11. can't compile gnome - "'gtk-config' script not found"

12. Can't find iostream.h... what rpm pagckages am I suppose to install?

13. X won't start "could not find font 'fixed'"