Date: Thu, 9 Apr 1998 18:41:20 -0700 (PDT) Message-Id: <199804100141.SAA14812@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "aalfonso" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Permission denied (EACCES) Precedence: bulk At 11:51 4/6/1998 -0400, aalfonso wrote: >Dear Nate and All Users, >I don't understand it I got this error for both C and C++ programs then the >next day I was alright compiling C programs, now I have the same problem >again. Compiling from the command line doesn't seem to help. I reinstalled >DJDEV201 to no avail. >I am not using any networking software. I tried compiling from the command >line and sending the error messages into a file. I have included this file >along with my post.Perhaps you might find some clues as to what the problem >is. >The command I used to generate this output is as follows: >C:\djgpp\bin\redir -o gcc.log -eo gcc -v -Xlinker --verbose -v -o Sample.exe >Sample.c >Thank you for all your help and suggestions. >Alan It looks as though `stubify' is being unable to rename over Sample.exe with the stubbed version. This seems strange, since `ld' had no trouble writing it. What kind of circumstance would make `rename' over an existing file fail, but not writing? See if `ren foo Sample.exe' works, where `foo' is any random file. Do this after the compile fails. What are the attributes of Sample.exe? See what `attrib Sample.exe' prints. Nate Eldredge eldredge AT ap DOT net