View previous topic :: View next topic |
Author |
Message |
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Mon Apr 07, 2008 8:58 am Post subject: Distcc x86->amd64 |
|
|
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? |
|
Back to top |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Mon Apr 07, 2008 9:17 pm Post subject: Re: Distcc x86->amd64 |
|
|
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? |
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 |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue Apr 08, 2008 6:34 am Post subject: |
|
|
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 |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Tue Apr 08, 2008 8:34 am Post subject: |
|
|
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 |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue Apr 08, 2008 8:59 pm Post subject: |
|
|
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 |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Tue Apr 08, 2008 9:12 pm Post subject: |
|
|
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!!! |
|
Back to top |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Wed Apr 09, 2008 9:02 am Post subject: |
|
|
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.
Hwoarang wrote: | [...]
trying to setup cross compiler on Debian.
[...] |
Doh, I must have missed the Debian part.
Hwoarang wrote: | [...]
GENTOO FTW!!! |
Indeed. _________________ Dantrell B. |
|
Back to top |
|
|
|