🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1029

I don't understand this ....

#1029
From: Stephen Meatheringham
Date: Tue, 06 Oct 1992 21:17
23 lines
1428 bytes
Hello,
   I am trying to install gcc and g++ (2.2.2) on our Sun Sparcstations running
SunOS4.1.2.    Everything seems to go fine - no errors or crashing out during 
the making and installation.  But ... when we try to compile a C++ program I
get the following :
sjm@moggie> g++ -c sjm.c
sjm.c:2: iostream.h: No such file or directory

Further digging around in the man page suggests there should be a directory
such as /usr/local/lib/g++-includes which contains the include files.   I'm
afraid there's no such beastie to be found, all the other include files for
gcc look okay in /usr/local/lib/gcc-lib/...

We do have the Sun supplied C++ compiler and that works fine, when you specify
-I/lusr/lang/SC1.0.1/include.   Do we have to specify the same for g++?  If so
why the discussion about g++-include in the man page?
 

				Stephen Meatheringham
				Mt. Stromlo Observatory
				Private Bag, Weston Creek P.O.
				ACT 2611, AUSTRALIA
				email : sjm@moggie.anu.edu.au
Technical Details
Message-ID: <9210060617.AA23752@merlin>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!merlin.anu.edu.au!sjm

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!merlin.anu.edu.au!sjm
From: sjm@merlin.anu.edu.au (Stephen Meatheringham)
Subject: I don't understand this ....
Message-ID: <9210060617.AA23752@merlin>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 6 Oct 1992 21:17:07 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 25