From: John DOT Turner AT pobox DOT com (John A. Turner) Subject: make problems (b18 and mingw32) 21 Feb 1998 14:26:47 -0800 Message-ID: <34EEA389.FBD7F666.cygnus.gnu-win32@POBox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 mailing list Call this Makefile: -------------------------------------- var = blorp export cwd = $(shell pwd) foo: @echo $(var) @echo $(cwd) @make -f Makefile2 bar -------------------------------------- and this Makefile2: -------------------------------------- cwd = $(shell pwd) bar: @echo $(var) @echo $(cwd) -------------------------------------- Now, my path is set up like this: bash$ which make make is //D/LOCAL/MINGW32/BIN/make make is /GNUWIN32/B18/H-I386-CYGWIN32/BIN/make bash$ /GNUWIN32/B18/H-I386-CYGWIN32/BIN/make --version GNU Make version 3.75, by Richard Stallman and Roland McGrath. bash$ make --version GNU Make version 3.76.1, by Richard Stallman and Roland McGrath. If I use the b18 version var isn't exported correctly: bash$ /GNUWIN32/B18/H-I386-CYGWIN32/BIN/make blorp //D/John/lanl/foodir //D/John/lanl/foodir If I use the newer mingw32 version it is: bash$ make blorp //D/John/lanl/foodir make[1]: Entering directory `D:/John/lanl/foodir' blorp //D/John/lanl/foodir make[1]: Leaving directory `D:/John/lanl/foodir' OK, great, I'll use the mingw32 version. Not so fast, though. I have a different problem with it. Whereas at the command line I can do: bash$ uname -n STRAT if I modify the first Makefile above to now be: -------------------------------------- var = blorp export cwd = $(shell pwd) host = $(shell uname -n) foo: @echo $(host) @echo $(var) @echo $(cwd) @make -f Makefile2 bar -------------------------------------- the mingw32 make coughs up blood thus: bash$ make make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x417c1b) make -d essentially gives the same info: Unhandled exception filter called from program make ExceptionCode = c0000005 ExceptionFlags = 0 ExceptionAddress = 417c1b Access violation: read operation at address a000002a Most annoyingly, the b18 make does this part right: bash$ /GNUWIN32/B18/H-I386-CYGWIN32/BIN/make STRAT blorp //D/John/lanl/foodir //D/John/lanl/foodir Any suggestions? Will this be fixed in b19? Thanks, -- John A. Turner Blue Sky|VIFX http://www.blueskystudios.com|http://www.vifx.com LANL http://www.lanl.gov/home/turner Personal http://www.concentric.net/~jturners - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".