Mail Archives: djgpp/1997/02/18/05:30:13
On Sun, 16 Feb 1997, Al Calbazana wrote:
> No problems there. But when I go to compile, I want an .exe file.
>
> I use gcc filename.cc -o output_filename.exe
>
> Heres a sample of the errors I get:
>
> c:/djgpp/tmp\ccdaaaaa(.text+0x29f):math.cc: undefined reference to
> `ostream::ope
[snip]
> Any suggestions at all?! I just want to be able to compile this as a
> test.
Suggestion: read the file `readme.1st' which is available in the v2
directory from the same place you get DJGPP. It explains how to
compile programs with DJGPP, and in particular tells you explicitly to
use gxx, not gcc, when linking C++ programs.
- Raw text -