🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #403

Re: Installing g++ (2.2.2) and the g++-include directory

#403
From: Stephen Meatheringham
Date: Wed, 07 Oct 1992 04:48
26 lines
1741 bytes
In article <1992Oct6.054902.1081@newshost.anu.edu.au>, sjm@merlin.anu.edu.au (Stephen Meatheringham) writes:

|>    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/...
|> 


Thanks to everyone who replied to the above from myself.   Yes.   I needed to
get libg++ and install that.   I now have a happy working g++.    But the
problem stemmed from the fact that I installed gcc 2.2.2 (which includes g++)
and no where in the documentation or installation instructions can I find a 
mention of needing to get libg++ to get it working.

				Stephen Meatheringham
				Mt. Stromlo Observatory
				Private Bag, Weston Creek P.O.
				ACT 2611, AUSTRALIA
				email : sjm@moggie.anu.edu.au
Technical Details
Message-ID: <1992Oct7.044812.10120@newshost.anu.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!manuel!merlin.anu.edu.au!sjm
References: <1992Oct6.054902.1081@newshost.anu.edu.au>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!manuel!merlin.anu.edu.au!sjm
From: sjm@merlin.anu.edu.au (Stephen Meatheringham)
Subject: Re: Installing g++ (2.2.2) and the g++-include directory
Message-ID: <1992Oct7.044812.10120@newshost.anu.edu.au>
Sender: news@newshost.anu.edu.au
Organization: Mt. Stromlo and Siding Spring Observatories
References:  <1992Oct6.054902.1081@newshost.anu.edu.au>
Date: Wed, 7 Oct 92 04:48:12 GMT
Lines: 27