http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47142
--- Comment #5 from Dongsheng Song <dongsheng.song at gmail dot com> 2011-02-04
13:29:09 UTC ---
(In reply to comment #4)
> 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
Since the cross compiler building is OK, so I only tried the native compiler
building. I got the same wrong results.
My next complete building will be started at 23:50 PM(UTC), if I got different
answer, I will inform you.