From: firewind Newsgroups: comp.os.msdos.djgpp Subject: Re: Rhide or Allegro bug Date: 7 Sep 1997 06:10:14 GMT Organization: Netcom Lines: 22 Message-ID: <5utgg6$6lt@sjx-ixn8.ix.netcom.com> References: <34122F90 DOT 3F4C AT voyageur DOT ca> NNTP-Posting-Host: elp-tx1-25.ix.netcom.com Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk J.E. 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-." -]