[distcc] Link-based masquerading and dist-cross-compiling
Martin Pool
mbp at sourcefrog.net
Fri Oct 15 01:20:50 GMT 2004
On 15 Oct 2004, ncrfgs <ncrfgs at tin.it> wrote:
> > It's slightly better to say
> >
> > CCACHE_PREFIX=distcc exec ccache ia64-linux-gcc "$@"
>
> What is the difference?
exec is marginally more efficient. CCACHE_PREFIX lets ccache know
that ia64-linux-gcc is the real compiler.
> > > :~$ ls -la /usr/bin/ia64-linux-gcc
> > >
> > > [...] /usr/bin/ia64-linux-gcc -> /usr/i64-linux/bin/ia64-linux/gcc*
> >
> > You can use this for packages that do allow you to override $CC.
>
> What about the packages that doesn't allow me to?
Then you should put /usr/lib/ia64-linux at the front of your path, so
they see the wrapper script.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20041015/4945eec9/attachment.bin
More information about the distcc
mailing list