On 5 Jul 2005, Bastian Venthur <[EMAIL PROTECTED]> wrote: > Package: distcc > Version: 2.18.3-2 > Severity: wishlist > > Is it possible to include a small script in the distcc package, that > allows the user to turn distributed compiling easily on and off? > > My solution would be something like: > distcc-off: > removes all symlinks in /usr/local/bin which point to distcc > > distcc-on: > creates all symlinks in /usr/local/bin > > The background is: I have a laptop and when connected to my home-lan I > want to use my compiler-farm. But when I am in a different lan, distcc > is quite useless. Moreover when compiling things in a different lan I > see these annoying warnings.
You can also just set DISTCC_HOSTS=localhost and distcc will directly run everything locally. There is still some cost but it's very small. That's not to say I think the scripts are a bad idea. I think gentoo has something similar? -- Martin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]