Mail Archives: cygwin/1996/12/20/11:47:56
Hi,
Ran into a bug with make and environment variables with b17.1.
The bug is that, contrary to its documentation, make does not export
variables set on the command line to the environment.
Here's a transcript:
--------------------
bash$ cat makefile
foo:
echo $$BAR
bash$ make BAR=yes
echo $BAR
bash$
--------------------
On other platforms, this results in
--------------------
bash$ cat makefile
foo:
echo $$BAR
bash$ make BAR=yes
echo $BAR
yes
bash$
--------------------
Since it works on other platforms, it's probably a cygwin32 bug rather
than a bug in make.
--
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3 | -- the last words of T. S. Garp.
-
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 -