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: johannes.schindelin at gmx dot de
Subject: [Bug binutils/27594] build processes broken by changed space handling
Date: Wed, 17 Mar 2021 14:11:01 +0000

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

Johannes Schindelin <johannes.schindelin at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johannes.schindelin at gmx dot 
de

--- Comment #1 from Johannes Schindelin <johannes.schindelin at gmx dot de> ---
As I stated in
https://github.com/msys2/MSYS2-packages/issues/2379#issuecomment-801061261, the
common way to address this is type of issue is to require the path with spaces
to be quoted. Something like this:

windres --preprocessor '"c:\\Program Files\\gcc" -E "-Ic:\Path With
Spaces\include" -Dfoo'

That way, existing users of the `--preprocessor` option won't be broken, even
if they just wanted to recreate the default behavior
(https://sourceware.org/binutils/docs/binutils/windres.html claims that the
default value of `--preprocessor` is `gcc -E -xc-header -DRC_INVOKED`, but the
bug in question prevents that very value from ever being accepted correctly by
`windres`, it will misinterpret it as a path with spaces instead).

-- 
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]