Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-09-2004, 11:40 PM   #1
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55

Rep: Reputation: 15
using distcc to compile

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.
Old 03-10-2004, 02:37 PM   #2
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
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 for a howto, do what you can, and then let us know if there are any errors.

Old 03-10-2004, 05:36 PM   #3
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55

Original Poster
Rep: Reputation: 15
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.
Old 03-10-2004, 08:33 PM   #4
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Distcc exvor Linux - Software 1 11-17-2005 06:36 PM
distcc linuxhippy Slackware 4 05-05-2005 07:15 AM
distcc hostname zaicheke Linux - Software 0 01-16-2005 12:06 PM
How do I tell if distcc is working? kleptophobiac Linux - Software 3 12-23-2003 07:22 AM
Using distcc...? kleptophobiac Linux - Software 0 09-30-2003 09:32 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration