That's more or less what I'm trying to do with my Firmware Linux project:
creating cross compilers and minimal native build environments for every qemu
target.
http://landley.net/code/firmwarehttp://landley.net/hg/firmware
I currently have variants of arm, powerpc, mips, x86, and x86-64 working, and
several others (sh4, sparc, m68k) in various stages of development. (I think
sparc just needs one minor bug fixed, I just can't bring myself to _care_
about sparc. m68k is hitting an internal compiler error in gcc. sh4 isn't
properly supported by qemu yet: no boards with a hard drive.)
I just did a new release, which finally has the distcc trick implemented.
(Not _quite_ useful yet because the build environment is missing seven
important commands I hope to add next release.)
Feel free to ask me any questions about it...
Rob
P.S. The mips kernel config recently changed because the qemu mips platform
went away in 2.6.25, and the new one is malta_defconfig with some of the
obvious options removed. I'm working on a more stripped-down one as we
speak, but I didn't hold up the release for it...
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
--