I have not had any luck with cross-compiling gcc 4.3.x/4.4.x using the cross-script, but fedora 11 started shipping a gcc 4.4-based compiler in April anyway, so I haven't bothered with it much any more until this weekend. Anyway, I finally found the problem after some hours - it is an assumption which x86-mingw32-build.sh makes which is no-longer true in gcc 4.3 onwards: around line 108 for building and installing stage 1,
instead of this:
ALL_GCC="all-gcc" INSTALL_GCC=install-gcc
for gcc 4.3 onwards, libgcc is splitted out, and something like this is required:
ALL_GCC="all-gcc all-target-libgcc" INSTALL_GCC="install-gcc install-target-libgcc"
otherwise crtbegin.o and friends (part of libgcc) aren't built and installed and one gets into trouble during mingwrt building.
Hope this helps
Reopening.
This is probably still relevant for newer GCC too, and I may follow it up with a cross-scripts update, when I find a few round tuits.
I'm no longer maintaining the cross-scripts; they haven't really been useful, since GCC-3.4.5 fell out of favour. Furthermore, I didn't require this hack, for any of GCC-4.8.2, GCC-4.9.3, GCC-5.3.0, or GCC-6.3.0, so I guess it's no longer relevant.