LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-01-2006, 06:13 AM   #1
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Using distcc with different distros/gcc versions


Hello!

I'm trying to get distcc to play happy on my network. To create my little compile farm, I downloaded a Knoppix iso, and burned about 6 copies, and placed them around the house in the different machines. I got distcc all setup on those machines, and then went to the machine where I was compiling. This machine is running (or is trying to anyway) gentoo. I was in the setup stages, and was to the emerge -e system stage. Just to make sure there weren't any glitches, I tried emerging vim first (after all, who can live without it?).

Lucky for me, it errored quickly giving me an error relating to the location of GCC on the remote machines. I thought this a bit odd, did some checking, and have hopefully found my problem. Knoppix is built with GCC with a march=i486. This makes the GCC on there apparently want to build for that arch. The Gentoo boxes all want to build for i686 (pentium 3's to be exact). The GCC versions are off by a minor number (3.3.6 and 3.3.5) so I'm thinking that's not such a big deal. However, this i486/i686 seems to be where my problem is lurking (if I'm way off, feel free to say so, but please provide info on why and how I can find out what is actually wrong ).

So, any ideas/input on how to get Knoppix to build my gentoo would be much appreciated.

Not sure what other info you may want, but reply with a request and I'll be happy to post it up!

Cool
 
Old 01-01-2006, 07:43 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I tried something similar some time ago. I wanted to protect my Thinkpad from heavy compiling. Didn't work indeed. So I started digging in documentation and ended up with knowledge I have to build cross compilers. I went easy way, created a small partition in my desktop with minimum FBSD install for this very purpose. Maybe you could use modified Gentoo livecd's?
 
Old 01-01-2006, 08:15 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Forgot to add. After FBSD made a minor version change - gcc is 3.4.4 now - things didn't work any more. Had to upgrade my desktop, so I think march=i486 is not your problem.
 
  


Reply



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
Is it possible to have two different versions of GCC in the same system ?? nasty_daemon Linux - Software 2 09-07-2005 10:49 AM
Older, smaller versions of distros? Where to find? mhelliwell Linux - Distributions 10 03-20-2005 06:51 PM
DISTCC failure and GCC CHOST change jacoby Linux - Software 0 01-20-2005 01:53 AM
Which Linux distros used kernel versions 2.2? Ma-fia Linux - Distributions 7 03-06-2004 10:43 AM
Can you have two different versions of gcc on the same system? the theorist Linux - Software 1 02-23-2004 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:04 AM.

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
Open Source Consulting | Domain Registration