Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Distcc x86->amd64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Mon Apr 07, 2008 8:58 am    Post subject: Distcc x86->amd64 Reply with quote

Hello

Just a simple question

I am running Gentoo amd64. Is it possible to use distcc on Debian x86 with distcc to build packages for my gentoo?

I guess I need cross-compile

But is it possible to produce amd64 code from x86 PC? :roll:
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Mon Apr 07, 2008 9:17 pm    Post subject: Re: Distcc x86->amd64 Reply with quote

Hwoarang wrote:
Hello

Just a simple question

I am running Gentoo amd64. Is it possible to use distcc on Debian x86 with distcc to build packages for my gentoo?

I guess I need cross-compile

But is it possible to produce amd64 code from x86 PC? :roll:

Yes, it is.

I have 2x P4s as secondary helpers for my AMD64.

You just need to build the toolchain for the arch you are helping. So if you haven't already, emerge crossdev:

Code:
emerge -va crossdev


Edit /etc/make.conf:

Code:
FEATURES="distcc"

PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"

PORTAGE_TMPDIR="/var/tmp"
DISTCC_DIR="${PORTAGE_TMPDIR}/portage/.distcc"


Build the toolchain:

Code:
crossdev -t x86_64-pc-linux-gnu


Naturally, distcc doesn't work with some packages, in those cases, # out FEATURES="distcc" as needed.
_________________
Dantrell B.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Apr 08, 2008 6:34 am    Post subject: Reply with quote

Here is the document page that gives you a step-by-step. I did it just as told, and it works for everything but cross compiling kernels. I'm still trying to figure that one out.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Tue Apr 08, 2008 8:34 am    Post subject: Reply with quote

Thank you very much. I assume that your helper machines are Gentoo too? Crossdev isnt available for Debian machines so I must build 64bit compiler other way
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Apr 08, 2008 8:59 pm    Post subject: Reply with quote

Yes, all my systems are set up for Gentoo. Cross compiling for the standard Debian user is unnecessary. They have everything you can want with their package management system, so there is no NEED for compilation. Some Debian users may do so, of course, but only Gentoo and some others build their world view around compiling, and doing it better and faster.

I tried to get distcc to work between Slackware 12 and Gentoo, and it was a no-go. I asked for help in the forums, but no one came back with an answer...so I switched all my machines to Gentoo.

So far, so good.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Tue Apr 08, 2008 9:12 pm    Post subject: Reply with quote

I though so

This is the third day I am trying to setup cross compiler on Debian. It doesnt worth it.

Thanks for the info guys :)

GENTOO FTW!!! :D
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Wed Apr 09, 2008 9:02 am    Post subject: Reply with quote

pappy_mcfae wrote:
[...]

so I switched all my machines to Gentoo.

[..]


In the process of doing this myself. 3 machines converted thus far. Waiting for the next one to cough over the last 30gb of data. Then there's the neighbors. :wink:


Hwoarang wrote:
[...]

trying to setup cross compiler on Debian.

[...]


Doh, I must have missed the Debian part.


Hwoarang wrote:
[...]

GENTOO FTW!!! :D


Indeed. 8)
_________________
Dantrell B.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum