[Bug target/56412] [4.8 Regression] "libtool: cygpath: command not found" for mingw32 host
daniel.f.starke at freenet dot de
gcc-bugzilla@gcc.gnu.org
Wed Feb 20 20:24:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56412
--- Comment #2 from Daniel Starke <daniel.f.starke at freenet dot de> 2013-02-20 20:23:32 UTC ---
Sorry, here is the correct patch proposed.
--- gcc-4.8.0-r196092/lto-plugin/configure 2013-02-15 22:11:56 +0000
+++ gcc-4.8.0-patch/lto-plugin/configure 2013-02-20 20:19:57 +0000
@@ -8734,7 +8734,14 @@
old_archive_from_new_cmds='true'
# FIXME: Should let the user specify the lib program.
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
- fix_srcfile_path='`cygpath -w "$srcfile"`'
+ case $host_os in
+ cygwin*)
+ fix_srcfile_path='`cygpath -w "$srcfile"`'
+ ;;
+ *)
+ fix_srcfile_path=''
+ ;;
+ esac
enable_shared_with_static_runtimes=yes
;;
More information about the Gcc-bugs
mailing list