From: SourceForge.net <no...@so...> - 2010-07-16 19:17:23
|
Patches item #1271321, was opened at 2005-08-25 05:26 Message generated for change (Settings changed) made by ir0nh34d You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=1271321&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: contributions Group: None >Status: Closed >Resolution: Out of Date Priority: 5 Private: No Submitted By: ericgm (ericgm) Assigned to: Nobody/Anonymous (nobody) Summary: Patch for windres in binutils-2.15.91-20040904-1 Initial Comment: When MinGW is installed in a path with directory names including spaces, 'windres' when reading Windows rc files, tries to find the preprocessor (namely gcc) using complete Windows paths, therefore with paths including unescaped spaces. The preprocessor command to be run must then by escaped with '"' in order to avoid spaces in its pathname, because they will be interpreted as argument separator. To reproduce the problem without installing MinGW in a new pathname with spaces, just create a "/mingw/bin test/" directory, copy windres.exe and gcc.exe in it and execute windres from this directory (even with an empty rc file). You will see an error message because it tries to 'run_cmd' or 'popen' with a command in the form '/mingw/bin test/gcc.exe -E -xc ...', and the ' ' Thank you ! Eric ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2005-08-28 19:50 Message: Logged In: YES user_id=11494 Please submit patch, with ChangeLog entry to: bin...@so... for review. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=1271321&group_id=2435 |