E. Weddington wrote:
The suggestion to look at Dan Kegel's crosstool is a good one,
>> but crosstool only handles cross compilers to linux, and hence isn't relevant here.

There have been patches to it for building on Cygwin, plus the occasional success story on Cygwin, IIRC.
(Perhaps Dan can comment).
IIRC, there are patches to crosstool for newlib too.

It's true; crosstool supports the i686-cygwin target, and there are patches to support newlib, uclibc, and nptl. I haven't tried any of the above myself much yet; I've been focused on plain old glibc/linuxthreads.

(For what it's worth, here's the latest gcc+glibc+linuxthreads build matrix:
http://kegel.com/crosstool/current/buildlogs/
It shows 24 combinations of gcc and glibc built for
26 different targets, with success/fail/ICE indication,
plus build logs for each combination, so you can see what error stopped the 
build.
The only ICE it found for gcc-4.0.0 is in m68k; see http://gcc.gnu.org/PR20583
And yes, this did take a while to run :-)

I don't know if the specific combination will work, but one could always try.
At least it's sometimes a better starting point for building a lot of 
cross-toolchains.

Yeah, one of these days I'll dust off the newlib, uclibc, and nptl support, and add all that to the build matrix... if anyone wants to help by keeping those three patches up to date, that'd be welcome. - Dan

Reply via email to