[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/4356] windres fails on files with spaces
From: |
david.macek.0 at gmail dot com |
Subject: |
[Bug binutils/4356] windres fails on files with spaces |
Date: |
Sun, 04 Apr 2021 10:52:58 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=4356
--- Comment #26 from David Macek <david.macek.0 at gmail dot com> ---
Sorry for the confusion, I stand corrected. I assumed the presented
inconsistency, although in an incorrect usage, would translate into an
inconsistency with correct usage. I tried directing windres to something like
"C:\path with spaces\gcc", but I wasn't able to break it regardless of temp
files.
On the other hand, I was able to break windres by having it itself be in a path
with spaces:
$ mklink /j "W:\mingw64 root" "C:\msys64\mingw64"
Junction created for W:\mingw64 root <<===>> C:\msys64\mingw64
$ set PATH=C:\windows\system32;W:\mingw64 root\bin
$ "W:\mingw64 root\bin\windres.exe" a.rc -o a.res --use-temp-file
W:\mingw64 root\bin\windres.exe: CreateProcess (null): No such file or
directory
$ "W:\mingw64 root\bin\windres.exe" a.rc -o a.res
'W:\mingw64' is not recognized as an internal or external command,
operable program or batch file.
W:\mingw64 root\bin\windres.exe: preprocessing failed.
$ "W:\mingw64 root\bin\windres.exe" a.rc -o a.res "--preprocessor=W:\mingw64
root\bin\gcc" --preprocessor-arg=-E --preprocessor-arg=-xc
(works)
$ "W:\mingw64 root\bin\windres.exe" a.rc -o a.res "--preprocessor=W:\mingw64
root\bin\gcc" --preprocessor-arg=-E --preprocessor-arg=-xc --use-temp-file
(works)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/4356] windres fails on files with spaces, nickc at redhat dot com, 2021/04/01
- [Bug binutils/4356] windres fails on files with spaces, nickc at redhat dot com, 2021/04/01
- [Bug binutils/4356] windres fails on files with spaces, eliz at gnu dot org, 2021/04/01
- [Bug binutils/4356] windres fails on files with spaces, eliz at gnu dot org, 2021/04/01
- [Bug binutils/4356] windres fails on files with spaces, nickc at redhat dot com, 2021/04/01
- [Bug binutils/4356] windres fails on files with spaces, eliz at gnu dot org, 2021/04/01
- [Bug binutils/4356] windres fails on files with spaces, david.macek.0 at gmail dot com, 2021/04/02
- [Bug binutils/4356] windres fails on files with spaces, eliz at gnu dot org, 2021/04/02
- [Bug binutils/4356] windres fails on files with spaces, david.macek.0 at gmail dot com, 2021/04/04
- [Bug binutils/4356] windres fails on files with spaces, eliz at gnu dot org, 2021/04/04
- [Bug binutils/4356] windres fails on files with spaces,
david.macek.0 at gmail dot com <=
- [Bug binutils/4356] windres fails on files with spaces, eliz at gnu dot org, 2021/04/04
- [Bug binutils/4356] windres fails on files with spaces, eliz at gnu dot org, 2021/04/04
- [Bug binutils/4356] windres fails on files with spaces, tonyt at logyst dot com, 2021/04/25