Mail Archives: djgpp/1996/04/07/05:07:35
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.
- Raw text -