delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/08/06:59:27

Date: Sun, 8 Mar 1998 13:58:04 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>
cc: djgpp AT delorie DOT com
Subject: Re: Anyone running on Win95 or NT?
In-Reply-To: <86ppvk0l189.fsf@vesuri.Helsinki.FI>
Message-ID: <Pine.SUN.3.91.980308135745.22686T-100000@is>
MIME-Version: 1.0

On 6 Mar 1998, Esa A E Peuha wrote:

> Another reason why I have edited my DJGPP.ENV is that my base directory
> is d:/djgpp, so some programs (like Groff and TeX) won't find their files
> without setting some variables, and I rather put them in DJGPP.ENV than
> in AUTOEXEC.BAT.

Some packages ported to DJGPP include instructions to edit DJGPP.ENV,
and Groff and TeX are among them.  In these cases, you indeed should
edit the environment file as instructed.

> Could these programs use DJDIR to compute the default paths instead
> of using hard-coded "c:/djgpp/..."?

This would require a change to the way these packages handle the
default pathnames.  Most of the packages put the default pathnames
into header files as fixed strings.  There is no easy way to change
this into something that will expand relative to %DJDIR% at run time,
without extensive changes to the configuration process.  Where such
changes are relatively easy (e.g., in Make and Id-utils), they are
done.

> Maybe the "standard" version of DJGPP.ENV should be updated more often than
> the whole DJGPP distribution.  Actually I could make it available on my web
> site, if that's a good idea.

I'm not sure.  People who change their DJGPP.ENV frequently usually
know what they are doing.  And those who don't might get confused by
what they find on your site.  But it might be worth a try.

- Raw text -


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