ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello. I had a question about distcc. I know its used to distribute the compiling of a program over different machines, but I tried setting it up and it doesn't seem to be working. I have 2 machines, a desktop (AMD XP 1700+ with 1gig ram With Gentoo 2004.0 kernel 2.6.3) and an older laptop (133 Pentium with 64mg ram With Slackware 9.0 kernel 2.4.20). I wanted to compile the linux-wlan-ng drivers for my laptop but it takes a VERY LONG TIME on this old machine. Can anyone help? Thanks everyone.
One important thing is that both computers have to be running the same version of GCC. Otherwise, things get very confused.
Anything more specific than that... well, you're going to need to describe what you've done, and what problems you're having in more detail.
Check the documentation that came with distcc, check tldp.org for a howto, do what you can, and then let us know if there are any errors.
On slackware I have gcc 3.2.2 and on Gentoo I have gcc 3.3.2. I would have to install gcc 3.3.2 on slackware, but compiling it would take forever on that machine. Could I do a seperate install of gcc 3.2.2 on Gentoo instead without having to get rid of 3.3.2? Everything on my pc has already been compiled with 3.3.2.
You should be able to install gcc 3.2.2 on Gentoo and keep gcc 3.3.2 as well.
The way I would do it is copy the gcc 3.2.2 ebuild to a new directory in /sys-dev/ called slack-gcc. Change the name of the gcc 3.2.2 ebuild to slack-gcc-3.2.2
Then edit the paths so it doesn't overwrite your other gcc version (maybe install it into /opt or something) and get ride of the stuff that would unmerge other gcc versions. Then setup distcc to use that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.