Mail Archives: djgpp/1997/01/08/02:28:24
On Tue, 7 Jan 1997, Nigel Hoult wrote:
> 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.
I suggest to create 2 different env files (say, djgpp1.env and
djgpp2.env), one each for each of the 2 cases, and flip the environment
like so:
set DJGPP=c:/djgpp/djgpp1.env
This way, the only thing you need to do is to type a single SET command;
no need to define the rest of the variables in the environment.
- Raw text -