gcc build fails in cygwin when making a cross compiler
Dan Kegel
dank@kegel.com
Mon May 16 04:34:00 GMT 2005
Ryan Churches wrote:
> i've used distcc b/w linux boxes, thats no sweat. i wanted to use it
> on a windows, and i happened across a gentoo wiki for how to do just
> that: http://gentoo-wiki.com/HOWTO_Distcc_server_on_Windows
>
> we'll, i dont know if im going about it the right way or not, but im
> up to the part where im supposed to build gcc on cygwin (down near the
> bottom), but that fails
>
> here's what it says:
> In file included from ../../../gcc-3.3.5/gcc/crtstuff.c:62:
> ../../../gcc-3.3.5/gcc/tsystem.h:72:19: stdio.h: No such file or directory ...
> make[1]: *** [crtbegin.o] Error 1
> make[1]: Leaving directory `/usr/src/build/gcc/gcc'
> make: *** [all-gcc] Error 2
You might try using crosstool to build the toolchain
on cygwin instead of doing it by hand.
crosstool is just a canned script that
does basically what you're trying to do.
See http://kegel.com/crosstool/crosstool-0.32/doc/crosstool-howto.html#quick
Let us know how it goes.
- Dan
--
Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list