Mail Archives: djgpp/1997/01/07/19:43:25
> 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 -