This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/47142] incorrect libgcc_s_sjlj-1.dll install


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]