delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/26/20:45:38

From: wstewart AT aa DOT net ("Wayne Stewart")
Subject: Re: GNU make 'export'
26 Mar 1997 20:45:38 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199703261726.JAA26106.cygnus.gnu-win32@big.aa.net>
Mime-Version: 1.0
X-Intended-For: gnu-win32 AT cygnus DOT com
Original-To: "Fergus Henderson" <fjh AT cs DOT mu DOT OZ DOT AU>
Original-Cc: <gnu-win32 AT cygnus DOT com>
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1157
Original-Sender: owner-gnu-win32 AT cygnus DOT com

It's still a problem with all uppercase variable names:

bash$ cat Makefile

export FOOBAR="set by make"

echoit:
        @env | egrep FOOBAR
bash$ export FOOBAR="set by shell"
bash$ make echoit
FOOBAR=set by shell
bash$

----------
> From: Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au>
> To: Wayne Stewart <wstewart AT aa DOT net>
> Subject: Re: GNU make 'export'
> Date: Tuesday, March 25, 1997 9:47 PM
> 
> Wayne Stewart, you wrote:
> > 
> > Has anyone gotten GNU make's 'export' capability to successfully
> > set/override environment variables with make variable settings?
> > I'm using NT Workstation 4.0, GNU-WIN32 Beta 17.1.
> 
> One possible cause of the problem is that cygwin converts all
> environment variable names to uppercase.  If you're using lowercase
> or mixed case names, try using uppercase names.
> 

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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