Mail Archives: djgpp-workers/1999/04/15/06:32:11
On Tue, 13 Apr 1999 Kbwms AT aol DOT com wrote:
> > if "%config%"=="CONFIG-NAME" PATH C:\DJGPP\BIN;%PATH%
> > if "%config%"=="CONFIG-NAME" set DJGPP=C:\DJGPP\DJGPP.ENV
> >
>
> I assume you mean that user's %djgpp% definition should be used?
> For example, in my autoexec.bat I have:
>
> set djdir=c:\djgpp.v2
> set djgpp=%djdir%\djgpp.env
I don't think it's a good idea to set DJDIR, since the startup code
computes it. And I don't see any advantage to using it in the above
context.
> > The above still has some cases not covered, but those would be rare
> > (in my experience).
>
> If you know of these rare cases, please reveal them.
Not every configuration arrives at the end of autoexec.bat. The
solution I proposed adds entries at the end, so it requires that all
configurations wind up there eventually.
- Raw text -