www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/06/09:25:39

Date: Wed, 6 Mar 1996 10:59:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Chris Tilbury <CTAA AT estate DOT warwick DOT ac DOT uk>
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: <Pine.SUN.3.91.960306104647.25416E-100000@is>
Mime-Version: 1.0

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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019