This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
First of all, thanks to Dan for crosstool. We've used it to build a compile farm targeting x86-linux and tweaked distcc setup also for VxWorks. The attached patch fixes crosstool-distcdd-linux.sh.in so that the daemon will actually use the DISTCC_xx environment variables. -vince diff -ru -x '*.ORIG' crosstool-0.28-rc37.orig/crosstool-distccd-linux.sh.in crosstool-0.28-rc37/crosstool-distccd-linux.sh.in --- crosstool-0.28-rc37.orig/crosstool-distccd-linux.sh.in 2004-04-17 10:25:45.000000000 -0700 +++ crosstool-0.28-rc37/crosstool-distccd-linux.sh.in 2005-01-28 10:35:04.000000000 -0800 @@ -25,8 +25,8 @@ # We'd want --pid-file=/var/run/$NAME.pid but then we'd have to trust # it to su itself to nobody -OPTIONS="--daemon" USER=nobody +OPTIONS="--daemon --user $USER" RETVAL=0 prog="crosstool-distccd" @@ -40,7 +40,7 @@ start() { echo -n "Starting $prog" - daemon --user $USER __ABSTOP__/common/bin/$prog $OPTIONS + daemon __ABSTOP__/common/bin/$prog $OPTIONS RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |