Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <36BB68C1.6B00F950@ibm.net> Date: Fri, 05 Feb 1999 16:55:13 -0500 From: John Fortin X-Mailer: Mozilla 4.05 [en] (WinNT; U) MIME-Version: 1.0 To: Tripp Lilley CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: make and .exe targets (more info) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit THANKS!!!, this gave me the clue I needed. My userid on NT has administrator priviledges (UID 544). I found a post which indicated that if I belong to the administrator group, all files belong to 544. When I created files the permissions were rwxr-xr-x 544 everybody. But since my UID was not 544 I could not write to the file. When I used a different userid, I was able to compile successfully. If this was more clearly documented, I could not find it. Thanks everyone who helped!!! John Fortin Tripp Lilley wrote: > On Fri, 5 Feb 1999, John Fortin wrote: > > > /cygnus/CYGWIN~1/H-I586~1/i586-cygwin32/bin/ld: cannot open output file > > winhello.exe > > : No such file or directory > > I'm currently booted in Linux, so I can't experiment with possible 'why' > scenarios, but it seems that this line is telling you something about your > problem. Check permissions -- if you're running under NT, make sure that > you have the rights you think you should have on your output directories > and such. > > As a test under Linux, I made a hello.c and an ultra simple makefile (with > an implicit .c.exe rule like yours), then put them in a directory that I > changed to read-only. Here's what I got as output: > > [tlilley AT defiant tmp]$ make > gcc hello.c -o hello.exe > ld: cannot open output file hello.exe: Permission denied > make: *** [hello.exe] Error 1 > > Granted, that output error "Permission denied" is a little different than > "No such file or directory", but I think that's where you need to be > looking. > > HTH > > -- > Tripp Lilley + Innovative Workflow Engineering, Inc. + (tripp AT iweinc DOT com) > ------------------------------------------------------------------------------ > "So perl is like a graceful swan, gliding across a lake. But underneath the > water, there's these little legs, paddling like buggery." > > -- beable van polasm in http://www.dejanews.com/getdoc.xp?AN=440381254 > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com