Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-24 Thread Dale
Peter Humphrey wrote: On Sunday 21 August 2011 04:04:05 Matthew Finkel wrote: On Sat, Aug 20, 2011 at 10:46 PM, Dale wrote: How hard is it to set up a 64 bit machine to compile programs for a 32 bit system? Dale :-) :-) It's actually quite easy. IIRC, when I did it last,

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-22 Thread Bill Longman
On 08/22/2011 01:41 PM, Alex Schuster wrote: >>> > > I don't think this is true - as long as the CHOST is identical, there >>> > > should be no problem. >> > >> > CHOST defines the arch (i686, amd64, arm ..) whilst CFLAGS control gcc >> > behavior and the binary code generation produced by compile

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-22 Thread Bill Longman
On 08/22/2011 01:41 PM, Alex Schuster wrote: >>> > > I don't think this is true - as long as the CHOST is identical, there >>> > > should be no problem. >> > >> > CHOST defines the arch (i686, amd64, arm ..) whilst CFLAGS control gcc >> > behavior and the binary code generation produced by compile

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-22 Thread Alex Schuster
victor romanchuk writes: > >> i had noticed that distcc is peevish about CFLAGS: these should be > >> compatible on both client and server. in my case i made these > >> similar on both machines (laptop is core2duo and desktop is > >> core2quad; both are running amd64 arch) > > > > I don't think

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-21 Thread Neil Bothwick
On Sun, 21 Aug 2011 15:53:15 +0200, Joost Roeleveld wrote: > Is there a way to automate the steps inside the chroot without having > to have a script inside the chroot? This is the script I use. You can call it with "ch hostname" or symlink it to chhostname. That way I can use the same script for

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-21 Thread Peter Humphrey
On Sunday 21 August 2011 14:53:15 Joost Roeleveld wrote: > That would help as I'm planning on setting this up myself as well for my > netbook. Right. I have two Konsoles open on my workstation, which is the compilation host. In one I "su -" and in the other I "ssh serv" (this is the client Atom

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-21 Thread victor romanchuk
> >> i had noticed that distcc is peevish about CFLAGS: these should be >> compatible on both client and server. in my case i made these similar on >> both machines (laptop is core2duo and desktop is core2quad; both are >> running amd64 arch) > I don't think this is true - as long as the CHOST is

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-21 Thread Joost Roeleveld
On Sunday, August 21, 2011 10:41:56 AM Peter Humphrey wrote: > On Sunday 21 August 2011 04:04:05 Matthew Finkel wrote: > > On Sat, Aug 20, 2011 at 10:46 PM, Dale wrote: > > > How hard is it to set up a 64 bit machine to compile programs for a > > > 32 > > > bit system? > > > > > > Dale > > > > >

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-21 Thread Alex Schuster
victor romanchuk writes: > > Both machines contain "distcc" in FEATURES. It's not using > > -march=native. I've tried various -jN values with no real difference > > in performance. -jN in make.conf's MAPEOPTS variable I assume, not as argument to emerge, which does something different. It also h

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-21 Thread Peter Humphrey
On Sunday 21 August 2011 04:04:05 Matthew Finkel wrote: > On Sat, Aug 20, 2011 at 10:46 PM, Dale wrote: > > How hard is it to set up a 64 bit machine to compile programs for a 32 > > bit system? > > > > Dale > > > > :-) :-) > > It's actually quite easy. IIRC, when I did it last, the only diff

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-20 Thread Matthew Finkel
On Sat, Aug 20, 2011 at 10:46 PM, Dale wrote: > Peter Humphrey wrote: > >> On Sunday 21 August 2011 02:08:51 Paul Hartman wrote: >> >> >> >>> Could I just export the entire laptop - everything from the root >>> directory and below - and chroot into that over the network? Then I >>> wouldn't even

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-20 Thread Dale
Peter Humphrey wrote: On Sunday 21 August 2011 02:08:51 Paul Hartman wrote: Could I just export the entire laptop - everything from the root directory and below - and chroot into that over the network? Then I wouldn't even need to emerge -k... No, I tried that and got myself tied in

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-20 Thread Peter Humphrey
On Sunday 21 August 2011 02:08:51 Paul Hartman wrote: > Could I just export the entire laptop - everything from the root > directory and below - and chroot into that over the network? Then I > wouldn't even need to emerge -k... No, I tried that and got myself tied in knots - well, actually it was

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-20 Thread victor romanchuk
> Both machines contain "distcc" in FEATURES. It's not using > -march=native. I've tried various -jN values with no real difference > in performance. only client (your laptop) machine should be distcc featured. for server (desktop) that feature is useless > On the desktop, /etc/conf.d/distcc con

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-20 Thread Paul Hartman
On Sat, Aug 20, 2011 at 7:35 PM, Peter Humphrey wrote: > On Saturday 20 August 2011 23:56:08 Paul Hartman wrote: > >> I have a fast desktop computer and a slow laptop. Both are ~amd64 >> Gentoo. After some of the recent discussions about Gentoo on slow >> devices, I thought I'd dust off the laptop

Re: [gentoo-user] Hoping someone can help explain distcc to me

2011-08-20 Thread Peter Humphrey
On Saturday 20 August 2011 23:56:08 Paul Hartman wrote: > I have a fast desktop computer and a slow laptop. Both are ~amd64 > Gentoo. After some of the recent discussions about Gentoo on slow > devices, I thought I'd dust off the laptop and try to bring it up to > date. > > I'd like to use distcc

[gentoo-user] Hoping someone can help explain distcc to me

2011-08-20 Thread Paul Hartman
Hi, I have a fast desktop computer and a slow laptop. Both are ~amd64 Gentoo. After some of the recent discussions about Gentoo on slow devices, I thought I'd dust off the laptop and try to bring it up to date. I'd like to use distcc to make the desktop do all the compiling during emerges. I've n