Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: Heribert Dahms To: "'Ethan Mallove'" , cygwin AT cygwin DOT com Subject: RE: cannot open output file a.exe: Permission denied Date: Tue, 12 Mar 2002 23:57:43 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain 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 AT icon-scm DOT com) > -----Original Message----- > From: Ethan Mallove [SMTP:emallove AT yahoo DOT com] > Sent: Tuesday, March 12, 2002 23:44 > To: cygwin AT cygwin DOT 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/