-   Slackware (
-   -   distcc and 32-bit vs. 64-bit (

kikinovak 09-13-2012 06:30 AM

distcc and 32-bit vs. 64-bit

My main workhorse PC is an AMD64 running Slackware64 13.37. Next to that is my "buildbox", a quadruple boot running a few different flavors of Slackware 13.37 and Slackware64 13.37.

I do experiment quite a lot with some big stuff to build (like Firefox ESR that takes more than an hour to compile). I'm already using ccache, and I'm now considering distcc. I know Alphageeks' web page about the subject, and I've even been using this stuff for some time, a few years ago, when I had a few computers, but none of them very powerful. Only at the time there was only 32-bit Slackware.

So the question is: can my workhorse PC running Slackware64 13.37 act as a distcc server for both Slackware 13.37 and Slackware64 13.37? I know distcc servers and clients must necessarily have the same gcc version, but the distcc FAQ doesn't say anything about 32-bit vs. 64-bit.

Any suggestions?

markush 09-13-2012 06:37 AM


you will need a toolchain. It's similar to crosscompiling. As far as I remember you can find some information in the documentation of Linux From Scratch, and here's a link to the Gentoo-Wiki

I've used distcc often with Gentoo (three computers (all AMD K8) running the 64bit Version, but I did not cross-compile.


saulgoode 09-13-2012 10:52 AM

When I tried distcc across differing architectures, it failed to work. I did not pursue the issue.

ppr:kut 09-14-2012 02:28 AM

I use icecream successfully in a x86 -> x86_64 cross compiling environment. You have to create a cross compiler package (binutils + gcc) once, but then it's mostly configuring itself.
The nice thing about icecream is its scheduler, which means you can extend and reduce the build cluster while compiling. One wouldn't think that's an issue in a private environment, but I had lots of situations where I thought "oh crap, a little bit more horsepower now would probably be good" ;)

kikinovak 09-14-2012 10:12 AM

Thanks everybody for your input. I guess it's maybe just not worth the hassle.

All times are GMT -5. The time now is 04:12 PM.