Hi,
Windres is very limited on common windows systems because it cannot handle
pathes with spaces.
Hint: the default homedir contains spaces
This does not seem to be fixed in latest CVS because the error is most
obviously in binutils/resrc.c (and similar) in function read_rc_file() and
look_for_default():
sprintf (cmd, "%s %s %s", preprocessor, preprocargs, filename);
The filename argument MUST be surrounded by "", thus this line should read:
sprintf (cmd, "%s %s \"%s\"", preprocessor, preprocargs, filename);
Easy fix, I'd say. Reproducable on command line using DEFAULT_PREPROCESSOR.
HS
--
Summary: windres fails on files with spaces
Product: binutils
Version: 2.16
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: sattler at mixed-mode dot de
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=4356
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-binutils