From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: ld and C++ String class Date: Wed, 06 May 1998 18:56:19 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 25 Message-ID: <3550EA93.4762@cs.com> References: <9805060859 DOT AA12565 AT casimir DOT stortek DOT com> NNTP-Posting-Host: ppp132.cs.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk CAZARD wrote: > > Thanks for your help John but i have tried this and I've got the same results > I have tried to compile the program with the version 2.7.1 with gxx and it has worked fine. Have you tried to compile the small source i have send with version 2.8 ? Please wrap long lines when sending messages; they are distracting to read. The following command line works for me: gpp -Wall -O -g -o stringe.exe stringe.cc -lgpp You can take out the first three parameters; they just add debugging and warning information. If you followed the recommendation in the readme for gcc 2.8.0 to delete the [gcc] and [gpp] sections from your DJGPP.ENV, you may have inadvertently caused problems. Try restoring those sections from djdev201.zip. -- --------------------------------------------------------------------- | John M. Aldrich | "Autocracy is based on the assumption| | aka Fighteer I | that one man is wiser than a million | | mailto:fighteer AT cs DOT com | men. Let's play that over again, | | http://www.cs.com/fighteer | too. Who decides?" - Lazarus Long | ---------------------------------------------------------------------