LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-13-2012, 06:30 AM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,710

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
distcc and 32-bit vs. 64-bit


Hi,

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?
 
Old 09-13-2012, 06:37 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Hello,

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 http://www.gentoo.de/doc/de/cross-compiling-distcc.xml

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

Markus
 
Old 09-13-2012, 10:52 AM   #3
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 237

Rep: Reputation: 107Reputation: 107
When I tried distcc across differing architectures, it failed to work. I did not pursue the issue.
 
Old 09-14-2012, 02:28 AM   #4
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 363

Rep: Reputation: 94
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"
 
Old 09-14-2012, 10:12 AM   #5
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,710

Original Poster
Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
Thanks everybody for your input. I guess it's maybe just not worth the hassle.
 
  


Reply

Tags
32bit, 64bit, distcc


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
64 bit cpu-64 bit Ubuntu-are there 32 bit app issues? sofasurfer Ubuntu 7 04-09-2014 02:02 PM
[SOLVED] Installing 32 bit RPMs on 64 bit Linux conflicts with 64 bit packages gheibia Linux - Server 1 08-18-2011 01:33 AM
64 bit or 32 bit Ubuntu 10.04 in a multiple boot with windows 64 and 32 bit ? james2b Linux - General 7 09-22-2010 04:12 PM
LXer: Ubuntu 32-bit, 32-bit PAE, 64-bit Benchmarks LXer Syndicated Linux News 0 12-30-2009 11:00 AM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 03:05 PM


All times are GMT -5. The time now is 09:13 AM.

Main Menu
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