www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/19/16:09:20

Message-Id: <199604191949.PAA25558@eelab.newpaltz.edu>
Comments: Authenticated sender is <fortin44 AT eelab DOT newpaltz DOT edu>
From: "John Fortin" <fortin44 AT eelab DOT newpaltz DOT edu>
To: rsj AT metronet DOT com (Richard S. James Jr.)
Date: Fri, 19 Apr 1996 14:47:24 +0000
Subject: Re: STL problems
CC: djgpp AT delorie DOT com

> 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.
> 
You might want to try the mail archives at DJ's site.  This seems to 
have been a popular topic lately.  I would recommend searching this 
after reading the FAQ and before posting a question to the group.  
That way, you don't get the RTFM response!!

John Fortin
fortin44 AT eelab DOT newpaltz DOT edu 

- Raw text -


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