make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mingw make problem


From: William A. Hoffman
Subject: Re: mingw make problem
Date: Mon, 21 Aug 2006 22:22:47 -0400

At 10:03 PM 8/21/2006, William A. Hoffman wrote:
>At 05:28 AM 8/21/2006, Eli Zaretskii wrote:
>
>OK, I tried that and it does not work.
>
>// native make build with HAVE_CYGWIN_SHELL 
>$ ../make-3.81/WinRel/make
>c:/Hoffman/testmake/runit.exe "a.c" "b.c"
>command line = {c:\Hoffman\testmake\runit.exe "a.c b.c\\"}
>argv[0] = {c:\Hoffman\testmake\runit.exe}
>argv[1] = {a.c b.c\}
>
>
>I did find another data point, it seems that this used
>to work in make 3.79.1 that came with msys:
>
>address@hidden ~/testmake
>$ /cygdrive/c/msys/1.0/bin/make --version
>GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
>
>address@hidden ~/testmake
>$ /cygdrive/c/msys/1.0/bin/make
>c:/Hoffman/testmake/runit.exe "a.c" "b.c"
>command line = {c:\Hoffman\testmake\runit.exe a.c b.c }
>argv[0] = {c:\Hoffman\testmake\runit.exe}
>argv[1] = {a.c}
>argv[2] = {b.c}

Some more information.

make 3.79.1
c:/Hoffman/testmake/runit.exe "a.c" "b.c"
CreateProcess(C:\cygwin\bin\sh.exe,C:/cygwin/bin/sh.exe c:\DOCUME~1\hoffman\LOCA
LS~1\Temp\make28162.sh,...)

make 3.81
CreateProcess(C:\cygwin\bin\sh.exe,C:/cygwin/bin/sh.exe -c "c:/Hoffman/testmake/
runit.exe ""a.c"" ""b.c""",...)

Seems like the old make used to create a .sh file to run the commands.
I tried setting BATCH_MODE_ONLY_SHELL to 1, but it did not seem to change 
anything.

-Bill






reply via email to

[Prev in Thread] Current Thread [Next in Thread]