[bug #15720] Expansion of variables inside export fails on Win32

2006-02-13 Thread Agent Zhang

Follow-up Comment #3, bug #15720 (project make):

Indeed you're correct. My Win32 build of GNU make 3.81beta4 detects my Cygwin
sh.exe automatically and makes use of it without a warning. Mixing Cygwin
sh.exe with non-Cygwin app such as win32-make.exe can be problematic.

So I wrote a simple Bourne Shell simulator in Perl, and instructed `make' to
use that, and variable exporting turns right since then:

C:\Temptype Makefile
bar: export foo := foo
bar: ; @echo $(foo) $$foo

C:\Tempwin32-make
foo

C:\Tempwin32-make SHELL = perl G:\script\sh
foo foo

However, I can't simply move the `perl G:\script\sh' thing from command line
into the Makefile itself because of [bug #15718]. The screen-shot is as
follows:

C:\Temptype Makefile
SHELL = perl G:\script\sh

bar: export foo := foo
bar: ; @echo $(foo) $$foo

C:\Tempwin32-make
foo

 P.S. Please don't assume that people who worfk
 on the Windows port don't run the test suite.
 I ran the entire test suite when I built the 
 last beta, and everything worked as expected.

Glad you run the test suit as me. :=) That was solely a bad joke, please
don't take it personally. I appologize for my rudeness.

Frankly speeking, the Win32 port of `make' is cute. You all have done a good
job.

Blessings,
Agent

___

Reply to this item at:

  http://savannah.gnu.org/bugs/?func=detailitemitem_id=15720

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


[bug #15720] Expansion of variables inside export fails on Win32

2006-02-13 Thread Paul D. Smith

Update of bug #15720 (project make):

  Status:None = Not A Bug  
 Open/Closed:Open = Closed 

___

Follow-up Comment #4:

I'm closing this as a misunderstanding; I think any real errors here are
covered adequately by bug #15718.

BTW, if someone has any ideas on how to make the test suite more portable, so
it doesn't rely on having a UNIX shell, I'm interested.  But, only if it can
be done in a fairly clean manner.

___

Reply to this item at:

  http://savannah.gnu.org/bugs/?func=detailitemitem_id=15720

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make