www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/19/09:12:10

Date: Mon, 19 Aug 1996 16:06:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Brian Maddox <bmaddox AT cs DOT umr DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: Problems with the stl and djgpp?
In-Reply-To: <4v8gkc$p7n@hptemp1.cc.umr.edu>
Message-Id: <Pine.SUN.3.91.960819160422.4450Q-100000@is>
Mime-Version: 1.0

On 19 Aug 1996, Brian Maddox wrote:

> Hey, I thought I'd try to compile some programs I wrote at work under 
> djgpp (which impresses the hell out of me so far) but when I try to 
> compile stuff with the stl, I get this error
> cd g:/programs/stl/
> gxx -Wall test6.cxx
> test6.cc(.text+0xe1b): undefined reference to `operator new(unsigned 
> long, void *)'

Append -lstdcx to the gcc command line, because gxx hasn't been told 
about the STL library (to be corrected in the next DJGPP release):

	gcc -Wall test6.cc -lstdcx

- Raw text -


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