This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: String.h problem


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]