crosstool-0.28-pre14: distcc first light
Dan Kegel
dank@kegel.com
Mon Mar 29 01:37:00 GMT 2004
As usual, it's at
http://kegel.com/crosstool/crosstool-0.28-pre14.tar.gz
0.28-pre14 28 Mar 2004
distcc integration:
* added demo-cluster.sh to demonstrate how to set up a hetrogenous
compile cluster where all nodes just mount the same directory to
get the compilers
* renamed mkdistlinks.sh to mkdistcclinks.sh, renamed mkdist.sh to clean.sh
* mkdistcclinks.sh no longer indents the #!/bin/sh in the scripts it generates,
properly deals with the .exe (or lack thereof) on files in bin,
and interfaces properly with cygrunsrv and distcc-stringmap.patch
* patches/distcc-2.13/distcc-stringmap.patch extends distcc to
better handle installations where compilers differ only by
the name of the directory they're installed in.
demo-cluster.sh creates /opt/distcrosstool, which is just like /opt/crosstool
except for an extra level of hierarchy named for the *build* machine.
(This is useful if you have a bunch of workstations of different
OS's or CPU types all mounting the same remote filesystem.)
Here's how I tested it:
On a Cygwin box, I ran
demo-cluster.sh
/opt/distcrosstool/i686-pc-cygwin/common/bin/run-distccd.sh
and on the Linux box, I did
sh demo-cluster.sh
DISTCC_HOSTS=192.168.1.44 (the IP adr of the Cygwin box)
export DISTCC_HOSTS
/opt/distcrosstool/i686-pc-linux-gnu/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/distributed/bin/i686-unknown-linux-gnu-gcc -c hello.c
(where hello.c already existed).
And sure enough, it sent the job over to the Cygwin box, which happily
compiled it.
Still needs documentation and some shaking down, but at least the
out-of-the-box hetrogenous compile cluster demo is starting to work!
- Dan
--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change
------
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