Date: Tue, 18 Feb 1997 12:17:52 +0200 (IST) From: Eli Zaretskii To: Al Calbazana cc: djgpp AT delorie DOT com Subject: Re: Cant make .exe files In-Reply-To: <3307E155.1AF4@udel.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.