delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/02/22/16:39:55

To: djgpp AT sun DOT soe DOT clarkson DOT edu, arif AT stat DOT fsu DOT edu
Subject: Environment variables
Date: Tue, 22 Feb 94 15:44:20 -0500
From: arif AT stat DOT fsu DOT edu

Like TeX, DJGPP has many envioronment settings.
EMTeX has a nice solution to this by having
defaults values for all environement variables.
In 99% of the cases the entire directory structure
of DJGPP is kept intact, so the defaults don't need
to be altered. If a user wants to keep his directories
in an unusual structure, the environment variables
are there for him to use.

Thus if an environemnt variable is not set,

then we look in 	%DJGPPDIR%/...
where ... is a default value

If DJGPPDIR is not set,
then look in		/djgpp/...

This would mean that

SET DJGPPDIR=c:/djgpp
SET GO32=...

could replace the entire setdjgpp.bat.
At most, you may want to change the TMPDIR and
GO32TMP, both of which should use the value of
the TMP or TEMP environment variable as a default.

This would mean that a person could install DJGPP
and run programs without any further setup (in most
cases)!

- Raw text -


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