cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/11/05:33:11

Date: Sat, 11 Jul 1998 12:29:29 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Nate Eldredge <nate AT cartsys DOT com>
cc: "John M. Aldrich" <fighteer AT cs DOT com>, djgpp-workers AT delorie DOT com
Subject: Re: Compile gives Abort! error
In-Reply-To: <35A6687B.661DBBFA@cartsys.com>
Message-ID: <Pine.A32.3.91.980711121850.189054A-100000@ieva05.lanet.lv>
MIME-Version: 1.0


On Fri, 10 Jul 1998, Nate Eldredge wrote:

> John M. Aldrich wrote:
> > 
> > yb01 AT my-dejanews DOT com wrote:
> > >
> > > I've checked the install to make sure everything is where its supposed to be.
> > > I've run the Verify tool against my install, and that checks out too.
> > >
> > > My configuration:
> > >
> > > Compiler and related tools are installed in f:/djgpp, a read-only network
> > > drive. My machine: PentiumII-266,64mb RAM, running NT4.  I open up a Command
> > > Prompt to do my compiles.
> > 
> > You need to set the TMPDIR environment variable to point to a writable
> > location.  By default, DJGPP will use f:/djgpp/tmp for the temp
> > directory, which won't work since you say that f: is read-only.  TEMP
> > and TMP aren't used by DJGPP.

TEMP and TMP is used by gcc if TMPDIR is not defined (It's normally
defined in DJGPP.ENV unless explicitly removed from there (I don't remember
in which is looked first). NOTE: I'm talking about gcc-2.8.1 and didn't look
in sources of previous versions. 

> 
> I wonder: why not?  Seems to me we could just set TMPDIR to TEMP in
> DJGPP.ENV.  Since DOS users have to have TEMP set reasonably anyhow,
> that would save trouble of this kind.
> 

That can be one of solutions when DJGPP is residing on R/O disk.
I don't think it's good by default. 

gcc ends so when tries to put temporary files on read only disk.
I met this, when wrote my installation of DJGPP to CD and forgot
to edit DJGPP.ENV before (I was hurrying). Such CD is nice if I
have to go somewhere and compile some program as there is no need to
install anything.

Andris

- Raw text -


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