Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <BF35D9C143BCCC4EB63181B67C9320C83A9B76@serv-075.icon-germany.local> From: Heribert Dahms <heribert_dahms AT icon-scm DOT com> To: "'Ethan Mallove'" <emallove AT yahoo DOT com>, 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/