Date: Wed, 6 Mar 1996 10:59:36 +0200 (IST) From: Eli Zaretskii To: Chris Tilbury Cc: djgpp AT delorie DOT com Subject: Re: Problems compiling with djgpp v2.0 In-Reply-To: <4hfrjj$1sji_003@estate.warwick.ac.uk> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 4 Mar 1996, Chris Tilbury wrote: > h:\gnu\djgpp/bin\ld.exe: cannot open output file addrbook.exe: > Permission denied (EACCES) A few things to test, so the problem is more clear: 1) What happens if you tell gcc to put its output on C:, like this: f:\src\addrbook > gcc -v addrbook.cc -o c:/tmp/addrbook.exe -liostream 2) Does this happen if you say `-o addrbook' (without the .exe extension? If the message is still printed, please see if a file called `addrbook' (without .exe) is generated on your current working directory on drive F:. 3) Is this specific to the linker, or *any* output file that gcc wants to create on drive F:? The easiest way to test this is to ask GCC to compile only: f:\src\addrbook > gcc -v -c addrbook.cc -o addrbook.o Does any of the above work?