www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/19/13:21:21

Xref: news2.mv.net comp.os.msdos.djgpp:2866
From: rsj AT metronet DOT com (Richard S. James Jr.)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: STL problems
Date: Fri, 19 Apr 1996 00:10:52 GMT
Organization: Texas Metronet, Inc (login info (214/488-2590 - 817/571-0400))
Lines: 43
Message-ID: <4l6lmr$rn6@feenix.metronet.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960407115114 DOT 22664A-100000 AT is>
NNTP-Posting-Host: dal98.metronet.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

>On Fri, 5 Apr 1996, Josh Stevens wrote:

>> However, when executing the line "gcc test.cpp -o test.exe -Wall
>> -liostr", I get this error:
>> 
>> test.cc(.text+0x95f): undefined reference to `operator new(unsigned
>> long, void *)'
>> 
>> Does anyone know how to keep this error from occuring?  Thanks.

>Why is it that people are quicker in posting to the net than in reading 
>the FAQ that's supposed to be right there on their machines?

>This question is answered in section 8.7 of the FAQ (available as 
>v2/faq200b.zip from the same place you get DJGPP).  Short answer: use gxx 
>instead of gcc; for the longer answer see the FAQ.

RTFM may be fine, but I don't see how section 8.7 of the FAQ (or any
of the other sections) help with the original poster's problem.  I'm
having that same problem, and I'm linking in -lgpp but it doesn't fix
the problem.

I guess I must have missed it, but I didn't see a reference to STL or
to gxx in the FAQ.  

I looked in my ..\bin directory and I got gcc.exe, but no gxx.*.  In
fact, no gxx.* anywhere on my system!  Am I supposed to copy gcc.exe
to gxx.exe?

Anyhow, I also need help with the STL.  So, is it, in fact, supported
under djgpp?  What library do you have to link in?  Using -lgpp
doesn't work.  I've spent pretty much most of this day trying to get
this to work, including frequent references to the FAQ, reading
various readme's, makefiles, info help, source and header files.  No
luck though. :(

Thanks for any help you can provide.

Rich.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019