Date: Wed, 8 Jan 1997 09:21:16 +0200 (IST) From: Eli Zaretskii To: Nigel Hoult cc: djgpp AT delorie DOT com Subject: Re: New user: help with dual installation of gcc (djgpp and Windows 32 version) In-Reply-To: <32d2942f.1396198@news.enterprise.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.