make-w32
[Top][All Lists]
Advanced

[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 23:32:49 +0300

> Date: Fri, 18 Aug 2006 15:50:03 -0400
> From: "William A. Hoffman" <address@hidden>
> Cc: address@hidden
> 
> >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}

Looks like the shell did something to the arguments.  What other
explanation can there be?




reply via email to

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