Mail Archives: djgpp/1996/05/04/03:39:24
R.L.S. Smith (rlss2 AT thor DOT cam DOT ac DOT uk) wrote:
: I have installed DJGPP V2 on my computer but when I try to compile
: something I get an error message: stubify.exe hello.exe not COFF. The
: compilation works fine up until this point. The command I used was:
: gcc -v -o hello.exe hello.c
: And I am using CWSDPMI. When I try to run the file hello.exe it
: crashes, but when I load it into the debugger and run it it works fine.
: According to the FAQs the output from the command I used should be an .exe
: file. So why does stubify expect oit to be a COFF file? I looked at the
: file hello.exe with a hex editor and the first two bytes are not 4d 5c which
: they should be for an .exe file. Can anyone tell me what format of file gcc
: is outputing and how I can get my program to compile and run properly?
Try leaving out the .exe extension, the file will be converted to .exe by
the stubify program called at the end of the link stage.
(Though I thought .exe works, maybe this depends on the filesystem used?)
bye, Alexander
--
Alexander Lehmann, | "On the Internet,
alex AT hal DOT rhein-main DOT de (plain, MIME, NeXT) | nobody knows
alexlehm AT rbg DOT informatik DOT th-darmstadt DOT de (plain) | you're a dog."
<URL:http://www.student.informatik.th-darmstadt.de/~alexlehm/>
- Raw text -