www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/04/14:13:16

Xref: news2.mv.net comp.os.msdos.djgpp:1635
From: CTAA AT estate DOT warwick DOT ac DOT uk (Chris Tilbury)
Newsgroups: comp.os.msdos.djgpp
Subject: Problems compiling with djgpp v2.0
Date: Mon, 04 Mar 96 22:41:55 GMT
Organization: Estates Office, University of Warwick, UK.
Lines: 60
Message-ID: <4hfrjj$1sji_003@estate.warwick.ac.uk>
NNTP-Posting-Host: aspen.estate.warwick.ac.uk
Mime-Version: 1.0
Summary: Problems compiling with (read-only) copy of DJGPP; linking stage apparently fails?
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Situation:

DJGPP v2.0 installed in a read-only path on a NetWare fileserver, in 
	H:\GNU\DJGPP

DJGPP environment variable set correctly to point to 

	H:\GNU\DJGPP\DJGPP.ENV

DJGPP.ENV slightly re-written to try to compensate for read-only 
filesystem on drive H:, by setting

	DJDIR=h:/gnu/djgpp (as opposed to 

and

	+TMPDIR=c:/tmp

(since h:/gnu/djgpp/tmp is not writeable)

Source files are located on my "F:" drive, which is again on a NetWare 
volume, but is read-writeable.

All seems to work fine until the linking stage arrives, when,

f:\src\addrbook > gcc -v addrbook.cc -o addrbook.exe -liostream
[mucho deleted, extra LF's are mine to improved readability]]

 h:\gnu\djgpp/bin\cc1plus.exe c:\tmp\ccbaaaaa -fno-strength-reduce 
-fno-strength -reduce -quiet -dumpbase addrbook.cc -version -o 
c:\tmp\cccaaaaa

GNU C++ version 2.7.2 (80386, BSD syntax) compiled by GNU C version 
2.7.2.

 h:\gnu\djgpp/bin\as.exe -o c:\tmp\ccdaaaaa c:\tmp\cccaaaaa

 h:\gnu\djgpp/bin\ld.exe -o addrbook.exe h:\gnu\djgpp/lib\crt0.o 
-Lh:\gnu\djgpp/lib c:\tmp\ccdaaaaa -liostream -Tdjgpp.lnk -lgcc -lc 
-lgcc

h:\gnu\djgpp/bin\ld.exe: cannot open output file addrbook.exe: 
Permission denied (EACCES)

[end]

If I shift my source files to my local drive (C:) then I don't have this 
 problem. Is this a known problem with GCC and is there a workaround 
(speaking as a netware admin this sounds like the similar problem that  
occurs with MS Installation stuff that requires a read-only  
compatibility setting in the workstations NET.CFG. Do I need this  
setting to use DJGPP too?) I'd rather not have to resort to storing 
source on my "C" drive (since it'd mean it wasn't being backed up).

Cheers,




Chris

- Raw text -


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