Live data from Hacker News

Distcc: A fast, free distributed C/C++ compiler

distcc.org

101–103 of 103 posts

Re: Distcc: A fast, free distributed C/C++ compiler

#101

Back at Uni (two-and-a-half decades ago now), I setup a hacky version of this sort of thing to distribute compilations over several workstations: * use make -j to run multiple task at once * replace¹ gcc with a script that picked a host and ran the task on that² This had many limitations that distcc lists it doesn't have (the machines had to have the same everything installed, the input and output locations for gcc h…

> some makefiles were not well constructed in terms of dependency ordering, so would break⁵ with make -j even without my hack layered on top

That remains true to this day of even makefiles from some really big name projects. Huge pet peeve of mine and I’ve filed PRs with fixes many times.

Re: Distcc: A fast, free distributed C/C++ compiler

#102
post #77

Nearly twenty years ago I had a little server farm of old PCs. Two or three Pentium-133s, one dual Pentium Pro 200 machine, and my pride and joy, a Pentium 3 running at 600 MHz. I was trying to get familiar with Gentoo and to make recompiling everything all the time more bearable I set up distcc so my P3 could do most of the work. It worked very well! But after a few weeks every Gentoo box in the house started crashi…

I had to break into a laptop for my dad last week. Last used 7 years ago. Running win2k on a pentium 3.

Had to jump through various hoops and find creative ways around problems (laptop too old to boot from USB, all my modern machines lack optical drives. And so on) but I did eventually break in.

Re: Distcc: A fast, free distributed C/C++ compiler

#103
post #38

Isn't it a misnomer to call it a "compiler"? Even it's github README says otherwise, > distcc is not itself a compiler, but rather a front-end to the GNU C/C++ compiler (gcc), or another compiler of your choice. All the regular gcc options and features work as normal.

I guess it depends. You use this software to convert your source code into the binary blobs efficiently. From high level, it behaves like a compiler, but internals are just using other compilers.

> You use this software to convert your source code into the binary blobs efficiently.

So `make` is also a compiler?

Post reply on HN