On 03/11/17 16:54, Lasse Pouru wrote:
I have a bunch of old laptops that large builds such as texlive and ghc fail 
on, I'm assuming because of insufficient memory and disk space. If I've 
understood correctly, with Distcc I could build everything on my main desktop 
PC and have the binaries transferred through network? How does this work, 
exactly, and is it a lot of work to set up? I currently have no networking 
devices besides a single modem/router, would something more be required?

No. What distcc does is spread compilation across multiple machines to save time, so if it blows up on those machine currently, there's no guarantee it won't blow up with distcc.

What I do is make sure my flags and stuff match across all machines, then compile using the -bk flags (I can't remember which says "create binary if it doesn't exist" and which is "use binary if it exists"). That way, it builds on the machine that works, and uses the binary on the machines that don't.

Oh - and it's definitely possible you've got dodgy ram. I gather it's not uncommon for ram to work perfectly until gcc stresses it on a big build at which point everything comes crashing down ...

Cheers,
Wol

Reply via email to