Article View: gnu.g++.help
Article #434Installing g++ (2.2.2) and the g++-include directory
From: Stephen Meatheringham
Date: Tue, 06 Oct 1992 05:49
Date: Tue, 06 Oct 1992 05:49
24 lines
1480 bytes
1480 bytes
Hi All, 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:
<1992Oct6.054902.1081@newshost.anu.edu.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!know!cass.ma02.bull.com!think.com!ames!elroy.jpl.nasa.gov!sdd.hp.com!caen!batcomputer!munnari.oz.au!manuel!merlin.anu.edu.au!sjmShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!know!cass.ma02.bull.com!think.com!ames!elroy.jpl.nasa.gov!sdd.hp.com!caen!batcomputer!munnari.oz.au!manuel!merlin.anu.edu.au!sjm From: sjm@merlin.anu.edu.au (Stephen Meatheringham) Newsgroups: gnu.g++.help Subject: Installing g++ (2.2.2) and the g++-include directory Message-ID: <1992Oct6.054902.1081@newshost.anu.edu.au> Date: 6 Oct 92 05:49:02 GMT Sender: news@newshost.anu.edu.au Organization: Mt. Stromlo and Siding Spring Observatories Lines: 24