bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27594] build processes broken by changed space handling


From: eliz at gnu dot org
Subject: [Bug binutils/27594] build processes broken by changed space handling
Date: Mon, 10 May 2021 19:35:22 +0000

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

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