Mail Archives: djgpp/1997/09/11/08:02:24
J.E. <cellis AT voyageur DOT ca> wrote:
> I'm having a problem, but I can't figure out whether it's Rhide or
> Allegro. About 50% of the time when I try to compile my source, I get
> an error saying "Permission denied: (EACCESS)". After this, two new
> files show up in my source directory. One is the executable that was
> produced and the other has the same name as the exe but with a .000
> extension. When I try to run the new executable, it hangs, but here's
> the weird part: If I rename the file with the .000 extension to a file
> with an .EXE extension, the result runs fine. I don't know what's going
> on. Thanks for all your time and help:-)
The .exe is a raw COFF output format which MS-DOS doesn't know how to run.
gcc automatically named the COFF output this, not knowing what an .exe is
supposed to be. The extension .000 is a temporary extension used by 'stubify'
when turning COFF files into .exe files. Why the final step of stubify
(removing the COFF .exe and renaming the .000 with an .exe) is failing, I
can't imagine, but apparently it is.
--
[- firewind -]
[- email: firewind AT metroid DOT dyn DOT ml DOT org (home), firewind AT aurdev DOT com (work) -]
[- "You're just jealous because the voices talk to -me-." -]
- Raw text -