Date: Sun, 7 Apr 1996 11:56:26 +0200 (IST) From: Eli Zaretskii To: Josh Stevens Cc: djgpp AT delorie DOT com Subject: Re: STL problems In-Reply-To: <4k56mb$fbp@platform.uoregon.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.