On Sun, Feb 5, 2012 at 12:04 PM, Samuraiii <samura...@volny.cz> wrote: > Hello, > > I have (right now) 3 computers runing Gentoo and as two of them are with > only 1GB of ram - which for libreoffice compiling is not enough. > > So my questions are: > > 1) Is it possible with distcc overcome this memory limitation? -call compile > on "weak" machine and leave memory load on "strong" one
To a limited extent, yes. You could configure things such that compiles happen remotely, but links always have to happen locally. And anything not done with a C or C++ compiler happens locally. AFAICT, any C or C++ app's most memory-consumptive act is linking. Your better bet is probably going to be to add swap. > > 2) second question is about arch of each computer > one is Core2Duo second Athlon 64 X2 and last is Pentium M > What steps I need to take to exploit distcc for all given machines > Do I need specific toolchains for each arch in question? Yes. But I don't know the routine for this. I'll be watching this thread myself, as I'd love to get some distcc crosscompile magic going at home. > > 3) How is distcc prone to network failures? If a dispatched compile fails (either because of a failure on the remote end, or because of some kind of network glitch), the compile is tried again locally. If a remote distccd can't be reached, the local dispatcher won't try again for a configurable amount of time. By default, that's one minute. -- :wq