delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/30/10:08:34

Date: Sun, 30 Aug 1998 17:08:02 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ralph Proctor <ralphgpr AT shadow DOT net>
cc: "John M. Aldrich" <fighteer AT cs DOT net>, djgpp AT delorie DOT com
Subject: Re: How to locate djgpp.env?
In-Reply-To: <3.0.1.16.19980829103402.378f1c32@shadow.net>
Message-ID: <Pine.SUN.3.91.980830170738.20257P-100000@is>
MIME-Version: 1.0

On Sat, 29 Aug 1998, Ralph Proctor wrote:

> I changed:
> 
> +TMPDIR=%DJDIR%/tmp
> 
> to
> 
> +TMPDIR=D:/      	[D:/ is a ramdrive]

You do NOT need to change DJGPP.ENV for this!  Just set TMPDIR on your
AUTOEXEC.BAT, that's all.  That `+' sign tells the DJGPP startup code
to not override a value of TMPDIR if it is already set.

This is one more case that underlines the potential hazards in
changing DJGPP.ENV: all those subtle characters are there for a
reason, and many people don't realize what those reasons are, and what
would break if the file is changed.

DJGPP.ENV took a lot of blood, sweat and tears to get right.  Don't
change it if you are not 110% sure you must.  Trust me, it's not a
good idea.

- Raw text -


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