This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: String.h problem
- To: Joe Buck <jbuck at possibly dot synopsys dot com>
- Subject: Re: String.h problem
- From: Bruno Quesnel <bruno dot quesnel at mindready dot com>
- Date: Wed, 17 May 2000 12:41:50 -0400
- CC: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>,Andersson Per Ola <pandersson at cosmote dot gr>
- Organization: Solution Mind Ready
- References: <200005171547.IAA18316@possibly.synopsys.com>
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
????
--
Bruno Quesnel bruno.quesnel@mindready.com
VA2BMG quesnelb@ve2.ele.etsmtl.ca
Stagiaire - MindReady