build gcc with distcc

2006-11-16 Thread Weidong Cui
Hi, Everyone: I am trying to build gcc with distcc on 3 linux boxes. But when I build gcc with option '--enable-bootstrap', the 'distcc' doesn't work. So I disabled bootstrap , then 'distcc' worked effective. My question is: how to build g

Re: build gcc with distcc

2006-11-16 Thread Basile STARYNKEVITCH
Hello Le/On Fri, Nov 17, 2006 at 07:26:55AM +, Weidong Cui écrivait/wrote: > I am trying to build gcc with distcc on 3 linux > boxes. But when I build gcc with option '--enable-bootstrap', > the 'distcc' doesn't work. So I disabled bootstrap , then

Re: build gcc with distcc

2006-11-17 Thread David Fang
Hi, > > My question is: how to build gcc bootstrap with distcc correctly. > > I believe it is impossible in the general case. bootstrap means to > compile GCC source code with a GCC compiler just built from the same > source code. Hence, to distribute this compilation with distcc, you'll > need

Re: build gcc with distcc

2006-11-17 Thread Basile STARYNKEVITCH
I forgot to mention IceCream http://en.opensuse.org/Icecream which could be an alternative do distcc (that I didn't use yet). PS On Debian, the packages are icecc [distributed compiler (client and server)] & icecc-monitor because there the icecream package is a radio stream download utility. --

Re: build gcc with distcc

2006-11-17 Thread Andrew Haley
David Fang writes: > > *sigh* Bootstrapping on me 5+ yr. old dual-G4 takes quite a while, even > with make -j2 (which helps a lot). Wish-list: gcj-ccache for classpath > rebuild acceleration. What would it do? Andrew.

Re: build gcc with distcc

2006-11-19 Thread Ben Elliston
> On a somewhat related note, I'd be interested to hear if ccache > could be snuck into bootstrapping to speed up recompiles in the > intermediate stages, especially with incremental changes. (Anyone > tried this?) I've noted that ccache-ing only speeds up the first > stage, as one would expect.

Re: build gcc with distcc

2006-11-19 Thread David Fang
> > There might be a subtle issue with ccache assuming that the compiler > > that created a cache-hit object did not change. I'm only aware of > > ccache verifying compiler versions (string compare) in the > > hit-check, which alone doesn't suffice to guarantee that the cache > > is (or should be)

Re: build gcc with distcc

2006-11-23 Thread Richard Sandiford
Weidong Cui <[EMAIL PROTECTED]> writes: > Hi, Everyone: > I am trying to build gcc with distcc on 3 linux > boxes. But when I build gcc with option '--enable-bootstrap', > the 'distcc' doesn't work. So I disabled bootstrap , then 'distcc&#

[Re: build gcc with distcc]

2006-11-23 Thread Weidong Cui
On Thu, Nov 23, 2006 at 11:36:43AM +, Richard Sandiford wrote: > Weidong Cui <[EMAIL PROTECTED]> writes: > > Hi, Everyone: > > I am trying to build gcc with distcc on 3 linux > > boxes. But when I build gcc with option '--enable-bootstrap', > >