Xref: news2.mv.net comp.os.msdos.djgpp:3411 From: rlss2 AT thor DOT cam DOT ac DOT uk (R.L.S. Smith) Newsgroups: comp.os.msdos.djgpp Subject: Help with V2 needed Date: 3 May 1996 12:01:10 GMT Organization: University of Cambridge, England Lines: 17 Message-ID: <4mcsi6$dd1@lyra.csx.cam.ac.uk> NNTP-Posting-Host: hammer.thor.cam.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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?