delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/16/05:19:36

Date: Tue, 16 Dec 1997 12:15:07 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "John M. Aldrich" <fighteer AT cs DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Problem setting up the compiler
In-Reply-To: <34957DC8.1845@cs.com>
Message-ID: <Pine.SUN.3.91.971216121444.25478F-100000@is>
MIME-Version: 1.0

On Mon, 15 Dec 1997, John M. Aldrich wrote:

> Ian Miller wrote:
> > 
> > > DJGPP=e:\djgpp\djgpp.env
> >          ^^^   ^^^
> > I'm not completely sure, but I think you need FORWARD slashes in the
> > DJGPP environment variable.
>
> Most DJGPP programs function correctly with either kind of slash.  Some
> programs may have trouble; if you find that you can run some DJGPP
> programs, but not others, then you should change the slashes.

Correction: *all* DJGPP programs function correctly with either kind
of slashes in the value of the DJGPP environment variable.

However, one piece of the machinery that makes this magic work is the
DJGPP.ENV file itself which causes the DJGPP startup code to convert
backslashes into forward slashes when it computes the value of the
DJDIR environment variable (DJDIR is then used for most of the other
path-related variables).

So if you find a program that has trouble with backslashes in the
DJGPP variable, make sure you haven't fiddled with the DJGPP.ENV file.
IMHO, you should *never* edit that file unless installation
instructions for some package tell you so, and then only to do the
changes explained in those instructions.

- Raw text -


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