[distcc] distcc, cross-compilers & packages that ignore CC/CXX... what's the _right_ way?

Dan Kegel dank at kegel.com
Tue Jan 24 02:59:58 GMT 2006


On 1/23/06, Stuart Longland <redhatter at gentoo.org> wrote:
> We were just having a discussion (read: heated debate) regarding how to
> set up distcc to work with cross-compiling toolchains.  The fly in the
> ointment is dealing with certain packages, which ignore the CC and CXX,
> and just call `gcc` (or worse, `cc`) instead of the fully qualified
> compiler name (`mips-unknown-linux-gnu-gcc`...etc).
>
>         There are a couple of approaches that we've nutted out:
>
> 1. Multiple distcc daemons on separate ports: ...
> 2. Single distcc daemon, with client-side wrappers. ...
>
> So... I put the question to you, the developers... what's the correct
> way to handle these "special" cases?  Is there a better way of handling
> this?

Yes.  Fix the broken packages and send the fixes upstream.
That's what I do.
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv


More information about the distcc mailing list