Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
windres fix
killerbot:
was there no update in the binutils , specifally fixing this issue for windres ??
thomas:
The description to the latest "snapshot" says that, yes... but I had not seen that one. The description of that package is a bit vague, too.
The fix mentioned here was more meant to make it work with the "current" and "candidate" releases that 99% of the people probably use.
Now what to do...? If that snapshot works, it'll probably be best for us to just ignore the issue and tell people "use the latest snapshot if it bothers you". Would save one hack in our code, at least, what do you think?
Edit: downloaded, tested, failed.
-------------- Build: default in foo ---------------
Running target pre-build steps
windres --version
GNU windres 2.17.50 20060824
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
windres.exe -i "D:\foo bar baz\many spaces\project.rc" -J rc -o obj\project.res -O coff -IC:\MinGW\include
gcc: D:\foo: No such file or directory
gcc: bar: No such file or directory
gcc: baz\many: No such file or directory
gcc: spaces\project.rc: No such file or directory
gcc: warning: `-x c' after last input file has no effect
gcc: no input files
windres.exe: no resources
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 1 warnings
Biplab:
I believe Lieven meant the following Binutils snapshot.
--- Quote ---http://downloads.sourceforge.net/mingw/binutils-2.17.50-20070129-1.tar.gz?modtime=1170688894&big_mirror=1
--- End quote ---
This can handle path with spaces.
But I agree with you. We should fix it. :)
killerbot:
If it indeed now works out of the box, I would not put any hacks in our code. Maybe we can create a sticky post in the help forum, so we can reference to it (and also in the wiki), where we explain what to download from MinGW.
release note for the above mentioned link :
--- Quote ---I have uploaded an update of binutils (2.17.50-200700129-1)
to MinGW's Sourceforge File Release page. You can download it
from Snapshots section at:
https://sourceforge.net/project/showfiles.php?group_id=2435
The 2.17.50-200700129-1 snapshot incorporates modifications to official
binutils CVS since last update. In addition it patches windres to allow
use of spaces in filenames, Please refer ChangeLog entries in src for
specific changes
For more info on binutils, follow this:
http://sources.redhat.com/binutils/
Danny
--- End quote ---
thomas:
--- Quote from: Biplab on July 31, 2007, 09:07:16 am ---I believe Lieven meant the following Binutils snapshot.
--- End quote ---
Though that one is immensely painful to find on the download page, it indeed seems to work out of the box.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version