This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cannot open output file a.exe: Permission denied


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 (heribert_dahms@icon-scm.com)

> -----Original Message-----
> From:	Ethan Mallove [SMTP:emallove@yahoo.com]
> Sent:	Tuesday, March 12, 2002 23:44
> To:	cygwin@cygwin.com
> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]