LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 03-10-2004, 12:40 AM   #1
pengStudent
Member
 
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, 03:37 PM   #2
Rounan
Member
 
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 tldp.org for a howto, do what you can, and then let us know if there are any errors.

--Rounan
 
Old 03-10-2004, 06:36 PM   #3
pengStudent
Member
 
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, 09:33 PM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

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


Reply


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 07:36 PM
distcc linuxhippy Slackware 4 05-05-2005 08:15 AM
distcc hostname zaicheke Linux - Software 0 01-16-2005 01:06 PM
How do I tell if distcc is working? kleptophobiac Linux - Software 3 12-23-2003 08:22 AM
Using distcc...? kleptophobiac Linux - Software 0 09-30-2003 10:32 AM


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

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