Mail Archives: djgpp/1996/03/06/09:25:39
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 -