[Bug target/47142] incorrect libgcc_s_sjlj-1.dll install
ktietz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 4 09:34:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47142
--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-02-04 09:33:58 UTC ---
Could you please check if this patch solves the issue for multilib? (It treats
multilib scenario like cross for installation of dll files).
Index: config.gcc
===================================================================
--- config.gcc (revision 169824)
+++ config.gcc (working copy)
@@ -1489,7 +1489,19 @@
fi
# Shared libgcc DLL install dir depends on cross/native build.
if test x${host} = x${target} ; then
- tmake_dlldir_file="i386/t-dlldir"
+ # Are we building multilib version?
+ if test x$enable_targets = xall; then
+ case ${target} in
+ *-w64-*)
+ tmake_dlldir_file="i386/t-dlldir-x"
+ ;;
+ *)
+ tmake_dlldir_file="i386/t-dlldir"
+ ;;
+ esac
+ else
+ tmake_dlldir_file="i386/t-dlldir"
+ fi
else
tmake_dlldir_file="i386/t-dlldir-x"
fi
More information about the Gcc-bugs
mailing list