[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mingw make problem
From: |
Eli Zaretskii |
Subject: |
Re: mingw make problem |
Date: |
Fri, 18 Aug 2006 22:02:05 +0300 |
> Date: Fri, 18 Aug 2006 14:00:55 -0400
> From: "William A. Hoffman" <address@hidden>
> Cc: address@hidden
>
> >If you run this program from that makefile you will see that the command
> >line actually received by the program is
> >
> > c:\full\path\to\runDump.exe "a.c b.c"
> >
> >Note that if you run the program from a command prompt with the line
> >
> > c:\full\path\to\runDump.exe a.c" "b.c
> >
> >it will see the single argument {a.c b.c}. I suspect that the make
> >implementation is removing the outer layer of quotes from {"a.c" "b.c"}
> >to leave this broken command line behind.
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.
What happens on your system? Do you really see only one argument?
- Re: mingw make problems, (continued)
- Re: mingw make problems, Bill Hoffman, 2006/08/17
- 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 <=
- 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, 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