public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Earnie Boyd <earnie_boyd@yahoo.com>
To: Don Baker <dbaker@mcc.com>, cygwin@sourceware.cygnus.com
Cc: dbaker@mcc.com
Subject: Re: Bug in B20.1 make with mixed case environment variables
Date: Wed, 30 Jun 1999 22:10:00 -0000	[thread overview]
Message-ID: <19990624173854.10224.rocketmail@web110.yahoomail.com> (raw)
Message-ID: <19990630221000.jOFjJ6NEqa9Lixs6zghEIRqEgrrGP8iwL07AhcBmcAc@z> (raw)

--- Don Baker <dbaker@mcc.com> wrote:
> B20.1 uses GNU make 3.75 which seems to have a bug or mis-feature
> where (DOS) environment variable names are converted to upper case
> when made into makefile variables.  (I believe that GNU make 3.77

This is not a "mis-feature" of make but a feature of the cygwin1.dll when
converting from DOS to POSIX.

> fixes this problem, so upgrading may be all that's necessary. 
> Unfortunately, I don't know the exact lineage of the make 3.77
> that I have.)
> 

Not likely as it isn't make's problem.

> From a DOS shell, set an environment variable with lower case
> letters:
> 
> set foo=hello
> 
> Then run make on the following makefile:
> 
> all:
> 	echo $(foo)
> 
> The echo is empty, unless the makefile variable is changed
> to all upper case, where "hello" is printed.  This problem
> does not seem to occur if the environment variable is set
> in bash.  (Bash, however has all of the DOS environement
> variables converted to upper case.)
> 

If you wish to keep the lower case then

DOS> bash
$ export foo=bar
$ make

> Thanks for looking into this problem.

You're welcome.
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

             reply	other threads:[~1999-06-30 22:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-24 10:39 Earnie Boyd [this message]
1999-06-30 22:10 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
1999-06-24 13:29 Dennis McCunney
1999-06-30 22:10 ` Dennis McCunney
1999-06-24 10:14 Don Baker
1999-06-30 22:10 ` Don Baker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990624173854.10224.rocketmail@web110.yahoomail.com \
    --to=earnie_boyd@yahoo.com \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=dbaker@mcc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).