delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/07/19:43:25

Date: Tue, 7 Jan 1997 19:35:34 -0500
Message-Id: <199701080035.TAA19333@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: nigelhoult AT enterprise DOT net
CC: djgpp AT delorie DOT com
In-reply-to: <32d2942f.1396198@news.enterprise.net>
(nigelhoult AT enterprise DOT net)
Subject: Re: New user: help with dual installation of gcc (djgpp and Windows 32 version)

> I've got two versions of gcc on my machine; the "minimalist" windows
> 32 version, which is my "default", and djgpp. I've got variables like
> C_INCLUDE_FILES specified in my AUTOEXEC.BAT for the former, and this
> works fine. However, when I run setdjgpp.bat, which is supposed to set
> things up to use the environment file djgpp.env, the settings there do
> not seem to override my previously defined environment variables, and
> I have to explicitly redefine them to use djgpp, which is a bit
> tedious. Could someone explain how djgpp uses the .env file and local
> environment variables to find its files, please, so that I can see if
> there is a way round this.

First, read http://www.delorie.com/djgpp/doc/kb/kb_7.html

Then, take out all those `+' characters before the variable name, and
all the %% that substitute in the previous environment's values.

That should make the djgpp.env file override command.com, instead of
the other way around.

- Raw text -


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