My entire package installs to /usr/local on the Cygwin machine and the script is miniscule:
############### START ################ #!/bin/sh cygrunsrv -I distccd -p /usr/local/bin/distccd.sh -d "Cygwin distccd" -e "CYGWIN=ntsec tty" ############### END ################### And here is the /usr/local/bin/distccd.sh: ################ START ################## #!/bin/sh TARGET="i686-pc-linux-gnu" CROSS_CC_PATH="/usr/local/cross-linux/bin:/usr/local/cross-linux/$TARGET /bin" DISTCCD_EXEC=/usr/local/bin/distccd.exe DISTCCD_ARGS="--no-detach --daemon" export PATH="$CROSS_CC_PATH:$PATH" exec $DISTCCD_EXEC $DISTCCD_ARGS ################### END ############### Feel free to do anything you guys want to with it, it's out there for use/abuse/cheer/jeers :) I just got tired of my Windows boxen sitting around doing nothing while my Linux boxes were doing all the compile work! I even managed to sneak a minimal copy of Cygwin (just enough to run this) onto my wife's laptop and have distcc as a service on it...all transparent to her. (Don't tell her though!) -Rob -----Original Message----- From: Harold L Hunt II [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 6:11 PM To: Rob Snow Cc: [EMAIL PROTECTED] Subject: Re: [distcc] Cygwin hosted distcc toolchain (updated) Rob, Rob Snow wrote: > Hmm, maybe that wasn't clear as I thought it was...it was a bit late > when I wrote it :) > > The .bz2 is a tar of a full toolchain that runs on Cygwin and creates > i686-linux binaries. The script just automates typing in a cygrunsrv > for people who haven't used it before. Okay, that is much more clear. > What it does is take any PC with a base Cygwin install and creates a > distcc host out of it with the mentioned toolchain. Any chance you can just specify the Cygwin distcc package as a prerequisite and drop it from your package? Or, is yours installed to something like /usr/local... I'm just worried about our packages overwriting each other if we both distribute distcc. What do you think of me including your script? Is it robust? Was it based off the ssh-host-config script? I have no idea how much is involved in such a script. If you tell me it is 5 lines, then I will stop bugging you and add it... I just want to know if it is 50 lines and will take some time to review. > Since I run Gentoo I use it to leverage the extra processing power of > the XP machines sitting around doing nothing. Nothing wrong with that :) That's actually a pretty cool idea for a small to medium office with Windows desktops. Harold __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc