Date: Mon, 19 Aug 1996 16:06:06 +0200 (IST) From: Eli Zaretskii To: Brian Maddox 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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