Hi Ethan,

is the program still running?
A running executable is locked from overwriting by e.g. the linker
under most unixes, and when not, I've seen spectacular crashes 8-)

Bye, Heribert ([EMAIL PROTECTED])

> -----Original Message-----
> From: Ethan Mallove [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, March 12, 2002 23:44
> To:   [EMAIL PROTECTED]
> Subject:      cannot open output file a.exe: Permission denied
> 
> I was trying to compile a simple multi-file C++
> program when i got this error message:
> 
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld
> :
> cannot open output file a.exe: Permission denied
> collect2: ld returned 1 exit status
> 
> i moved all the files into a different directory and
> abracadabra the error message didn't occur.  What was
> happening when i was getting the "permission denied"
> error?
> 
> -ethan
> 
        [Heribert]  [snip]


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to