This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: String.h problem
- To: Bruno Quesnel <bruno dot quesnel at mindready dot com>
- Subject: Re: String.h problem
- From: Manfred Hollstein <manfredh at cygnus dot com>
- Date: Fri, 19 May 2000 14:14:18 +0200 (MEST)
- Cc: Joe Buck <jbuck at possibly dot synopsys dot com>, "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>, Andersson Per Ola <pandersson at cosmote dot gr>
- References: <200005171547.IAA18316@possibly.synopsys.com><3922CBCE.13015F9B@mindready.com>
- Reply-To: Manfred Hollstein <manfred dot h at gmx dot net>
On Wed, 17 May 2000, 12:41:50 -0400, bruno.quesnel@mindready.com wrote:
Joe Buck wrote:
> > My problem is with the String class, not with the string.h from the standard
> > C library.
>
> String is obsolete. It is contained in libg++, which isn't being
> actively maintained anymore. g++ does not link to libg++ by default;
> only libstdc++ is included by default.
>
> > I'm doing object programming (actually ruling out bugs from) and each program
> > that I try to debug uses the String CLASS. Every time I try to link the
> > different programs, the unresolved message points out.
>
> Since you can compile but not link, you must have libg++ on your system.
> It will not be linked to unless you say -lg++ on your linker command line.
Is there a way to get a hold of this lib or it is better off trying to convert
????
As several people have indicated, libg++ isn't maintained any more;
I'm currently trying to keep it up-to-date, so that it can be used
to test the current compilers. I'd suggest you convert your code; if
you still need a recent copy of libg++, please look at
<http://www.cygnus.com/~manfredh/libgxx/>
Cheers.
l8er
manfred
--
Manfred Hollstein If you have any questions about GNU software:
Hindenburgstr. 13/1 <mailto:manfred.h@gmx.net>
75446 Wiernsheim, FRG <http://www.cygnus.com/~manfredh/>
PGP: <http://www.cygnus.com/~manfredh/manfred.asc>