Le lundi 17 octobre 2005 à 21:04 +0930, Ron a écrit :
> On Mon, Oct 17, 2005 at 12:04:19PM +0200, J?r?me Warnier wrote:
> > Le lundi 17 octobre 2005 ? 19:19 +0930, Ron a ?crit :
> > > On Mon, Oct 17, 2005 at 10:13:30AM +0200, Jerome Warnier wrote:
> > > > Makefiles in objs_gtk_{d|sh} are apparently not autogenerated at build
> > > > time
> > >
> > > Of course they are, how do you think those directories came to
> > > be populated in the first place?
> > >
> > > > and ignore content of $CC and $GXX, and blocks use of distcc and
> > > > al.
> > >
> > > I don't know how you are trying to do that, but if you simply
> > > run dpkg-buildpackage, and have your DISTCC_HOSTS set correctly
> > > the build will already fan out to utilise your whole build farm.
> >
> > No, the content of objs_gtk_{d|sh} directories are not using it.
> > Because the Makefiles hardcode CC=gcc and CXX=g++.
> > Check it, you'll see.
>
> Of course they do, they are generated by config.status
> and that is exactly what it does: substitute concrete
> values in place of variables.
>
> What else would you expect the generated makefile to
> look like? If you want to change what is substituted
> you need to re- ./configure. (but in this case you
> don't actually need to if you are committed to using
> distcc)
CC=distcc
CXX=distcc g++
That's how it is supposed to be.
The problem is that it takes the number of hosts in DISTCC_HOSTS and
appends -jX to make, but in this part of the build, it is not using
distcc (believe me), so overloads the machine to death.
> See the autoconf docs if you want to always specify it
> explicitly.
>
> Ron
--
Jérôme Warnier
FLOSS Consultant
http://beeznest.net