🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Does g++ require libg++

#455
From: Joe Buck
Date: Wed, 11 Nov 1992 21:58
33 lines
1899 bytes
In article <1992Nov11.074040.2411@u.washington.edu> edgar@ms.washington.edu (Edgar Karl Nielsen) writes:
>	Does gnu g++ require the libg++ package to be installed?

No, but you're fairly crippled without it if your vendor does not
provide ANSI C header files.

>My installation of gcc2.2 seems to behave this way, but it seems strange that
>the gcc documentation makes no references to this requirement.

The gcc documentation describes the C compiler, with a few brief
references to C++.  But the compiler itself doesn't need the library,
and back in the old days when libg++ was under the GPL, the InterViews
people (among others) wrote replacement streams classes so you could
avoid use of libg++ entirely (with the LGPL there's no longer much
reason to do this, IMHO, since it permits object-only distribution of
"works that use the library").

>In addition,
>the groff documentation says that you don't need libg++ when running gcc2.x,
>only when running lesser versions. I would appreciate enlightenment on this
>topic!

Beats me.  I do think that it might be an improvement if certain headers
required for any implementation by the ANSI C++ committee (things like
wrappers for the standard headers required for any C++ implementation)
were moved from the libg++ distribution to the gcc distribution.  This
would be easier to do once the Gnu C library is integrated more cleanly
with libg++ (right now they fight with each other).



--
Joe Buck	jbuck@ohm.berkeley.edu
Technical Details
Message-ID: <1drvmiINNatj@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!forney.berkeley.edu!jbuck
References: <1992Nov11.074040.2411@u.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!forney.berkeley.edu!jbuck
From: jbuck@forney.berkeley.edu (Joe Buck)
Newsgroups: gnu.g++.help
Subject: Re: Does g++ require libg++
Date: 11 Nov 1992 21:58:42 GMT
Organization: U. C. Berkeley
Lines: 33
Message-ID: <1drvmiINNatj@agate.berkeley.edu>
References: <1992Nov11.074040.2411@u.washington.edu>
NNTP-Posting-Host: forney.berkeley.edu