So I've been working on getting a reasonable cross-compile of GCC from XCode 2.2.1 working on Linux so that I can distcc to my Linux boxes from my mac when doing long compiles (*cough*KDE*cough*). I've finally got something useful enough for myself that it's worth seeing if it works for anyone else.
So, uhh... check out my spiffy linux/darwin cross-compiler here!
I ended up making a little tool that automatically translates various gcc references into the canonical target name of that compiler, so it's safe to distcc to other oses (ie, instead of calling "gcc-4.0
", it turns it into "powerpc-apple-darwin8-gcc-4.0
"). This script is now part of my distcc package in unstable as of tonight.
Please, give it a shot, and let me know if you run into any issues. Happy compiling!
Share on Facebook