https://sourceware.org/bugzilla/show_bug.cgi?id=27594

--- Comment #16 from Eli Zaretskii <eliz at gnu dot org> ---
(In reply to Martin Storsjö from comment #15)
> (In reply to Eli Zaretskii from comment #13)
> > And one more comment: using pre-quoted shell command (as opposed to just the
> > preprocessor file name) in --preprocessor will not work with
> > --use-temp-file, because the code in `run_cmd` breaks the command into
> > argv[] array, and will treat the quoted string ("gcc -E ....") as a file
> > name to invoke.  This trick only works in the default pipe mode, because
> > then the command is not broken into argv[] elements.
> 
> No, I don't think so. Before 2.36, a pre-quoted argument in --preproessor
> would have ended up as <<<"path to/gcc.exe" -xc -E ...>>> in the cmd string,
> and run_cmd would split it correctly. (In 2.36, such arguments to
> --preprocessor don't work though.)

Terrific.  So we'd need to tell users say "\"path to gcc\" arguments...".  How
marvellous.  Who can ever remember such syntax.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to