From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson) Subject: bug with `make' and environment variables 20 Dec 1996 11:47:56 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199612201237.XAA15355.cygnus.gnu-win32@murlibobo.cs.mu.OZ.AU> Content-Type: text Original-To: gnu-win32 AT cygnus DOT com (gnu-win32) X-Mailer: ELM [version 2.4 PL24] Original-Sender: owner-gnu-win32 AT cygnus DOT com 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 | "I have always known that the pursuit WWW: | 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".