LinuxQuestions.org
Visit Jeremy's Blog.
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 02-01-2010, 10:05 AM   #1
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Rep: Reputation: 16
Gentoo iBook G3 Cross Compiling?


Hi, I have been installing gentoo on my desktop for the past few weeks. (Not a whole lot of time to get to it) and I must say that I wished I had made the move a whole lot earlier. Anyway, my next canididate for gentoo would be my ibook g3 which has a slow processor. I have heard that for these systems cross compiling is a lot better of an option than compiling on the system itself. I have read the cross-compiling guide and am left a bit confused. Could I use my thumbdrive to transfer compiled binaries from my desktop to my laptop and install the packages that way? Also, what would I do when updates come out for my laptop. Is there any way of monitoring the package statuses?
 
Old 02-10-2010, 03:15 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Hi
All I can say about cross-compiling is that I tried to compile sparc64-binaries on a amd64-PC and that resulted in a huge mess. I think I will give it a shot again sometimes in the future but for the time being I don't feel like telling other people to do the same.

I installed Gentoo a few weeks back on a netbook having an Atom 270 and it worked fine - it just lasted 4 times longer than usual, but it was still acceptable.

What you could do instead of cross-compiling is to use "distcc" when you emerge something. "distcc" is fully transparent to "emerge" and it spreads out the compilation as well to other PCs connected to your network.
http://www.gentoo.org/doc/en/distcc.xml

I used it on some PCs and it worked fine and it is for sure easier to use than cross-compiling, especially once you have a working environment.
The guide for distcc for cross-compiling: http://www.gentoo.org/doc/en/cross-compiling-distcc.xml
Hope it helps!
 
  


Reply

Tags
crosscompile


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
Cross-compiling v/s cross-building kushalkoolwal Programming 3 05-13-2009 05:49 AM
Cross Compiling dosnlinux Programming 5 03-01-2006 11:12 AM
cross compiling cerin Linux - Software 1 02-11-2006 10:47 PM
cross-compiling? jon_k Programming 3 12-09-2004 09:36 AM
cross compiling with g++ hornofsalvation Linux - Newbie 2 10-09-2004 10:29 PM

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

All times are GMT -5. The time now is 01:17 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