delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/28/09:19:02

Date: Wed, 28 Nov 2001 16:17:02 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Randy Maddox <rmaddox AT isicns DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: make and environment variables
In-Reply-To: <000801c17813$7b453750$3502a8c0@nancy>
Message-ID: <Pine.SUN.3.91.1011128161422.3693C@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 28 Nov 2001, Randy Maddox wrote:

> I am using the WinDoze 2K version of DJGPP as found in the zip archive
> djdev204_alpha_win2k.zp and have encountered an issue with the make utility,
> which seems to find environment variables only if the name used in the make
> file is in all uppercase, regardless of the case used to name and set the
> environment variable.

This is expected: W2K upcases all the environment variables it passes to 
DOS programs, and DJGPP's getenv function is case-sensitive.

> Is this a bug?

You could regard this as a W2K bug.

> Is there a work-around?

Try using COMMAND.COM or Bash as your shell instead of CMD.EXE.

> I did report this to
> bug-make AT gnu DOT org initially, but they bounced me back to you.

They were right: this has nothing to do with Make.

- Raw text -


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