[Top][All Lists]
[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: |
Fri, 18 Aug 2006 15:50:03 -0400 |
At 03:02 PM 8/18/2006, Eli Zaretskii wrote:
>I tried this program, and it verified that there's no problem on my
>system, where sh.exe is a native Windows shell. Here's what I get
>with this Makefile rule:
>
>all:
> d:/full/path/to/rundump.exe "a.c" "b.c"
>
>d:/full/path/to/rundump.exe "a.c" "b.c"
>command line = {d:\full\path\to\rundump.exe a.c b.c}
>argv[0] = {d:\full\path\to\rundump.exe}
>argv[1] = {a.c}
>argv[2] = {b.c}
>
>So the MinGW binary of Make does not remove the outer layer of quotes,
>and the subsidiary program sees 2 separate arguments.
// from cygwin:
$ ./make.exe -f mk runit
c:/hoffman/My\ Builds/CMakeDev/Tests/COnly/b/run.exe "a.c" "b.c"
command line = {"c:\hoffman\My Builds\CMakeDev\Tests\COnly\b\run.exe" "a.c b.c"}
argv[0] = {c:\hoffman\My Builds\CMakeDev\Tests\COnly\b\run.exe}
argv[1] = {a.c b.c}
// from msys:
c:/hoffman/My\ Builds/CMakeDev/Tests/COnly/b/run.exe "a.c" "b.c"
CreateProcess(C:\msys\1.0\bin\sh.exe,C:/msys/1.0/bin/sh.exe -c "c:/hoffman/My\
Builds/CMakeDev/Tests/COnly/b/run.exe \"a.c\" \"b.c\"",...)
/usr/bin/sh: -c: line 3: syntax error: unexpected end of file
// from cmd.com windows shell
C:\Hoffman\My Builds\CMakeDev\Tests\COnly\b>.\make -f mk runit
"c:/hoffman/My Builds/CMakeDev/Tests/COnly/b/run.exe" "a.c" "b.c"
command line = {"c:/hoffman/My Builds/CMakeDev/Tests/COnly/b/run.exe" "a.c" "b.c
"}
argv[0] = {c:/hoffman/My Builds/CMakeDev/Tests/COnly/b/run.exe}
argv[1] = {a.c}
argv[2] = {b.c}
-Bill
- Re: mingw make problems, (continued)
- Re: mingw make problems, Eli Zaretskii, 2006/08/17
- Re: mingw make problems, Christopher Faylor, 2006/08/17
- Re: mingw make problem, William A. Hoffman, 2006/08/17
- Re: mingw make problem, Eli Zaretskii, 2006/08/18
- Re: mingw make problem, William A. Hoffman, 2006/08/18
- Re: mingw make problem, William A. Hoffman, 2006/08/18
- Re: mingw make problem, Eli Zaretskii, 2006/08/18
- Re: mingw make problem, William A. Hoffman, 2006/08/18
- Re: mingw make problem, William A. Hoffman, 2006/08/18
- Re: mingw make problem, Eli Zaretskii, 2006/08/18
- Re: mingw make problem,
William A. Hoffman <=
- Re: mingw make problem, Eli Zaretskii, 2006/08/18
- Re: mingw make problem, William A. Hoffman, 2006/08/18
- Re: mingw make problem, Eli Zaretskii, 2006/08/19
- Re: mingw make problem, Eli Zaretskii, 2006/08/18
- Re: mingw make problem, William A. Hoffman, 2006/08/18
- Re: mingw make problem, Earnie Boyd, 2006/08/19
- Re: mingw make problem, William A. Hoffman, 2006/08/19
- Re: mingw make problem, Eli Zaretskii, 2006/08/18
- Re: mingw make problem, Earnie Boyd, 2006/08/18
- Re: mingw make problem, William A. Hoffman, 2006/08/18