On Tue, Oct 12, 2004 at 11:45:30AM +1000, Martin Pool wrote: > OK, so you have a package that (let's say) is hardcoded to compile > using cc. You want to partially cross-compile it. > > One approach is to put a script called 'cc' on your path which invokes > ccache or distcc with the real universal compiler name.
Something like this?
:~$ cat /usr/lib/ia64-linux/cc
#!/bin/sh
ccache distcc ia64-linux-gcc "$@"
:~$ ls -la /usr/bin/ia64-linux-gcc
[...] /usr/bin/ia64-linux-gcc -> /usr/i64-linux/bin/ia64-linux/gcc*
Thanks in advance.
Best regards.
--
Value your freedom, or you will lose it, teaches history.
``Don't bother us with politics,'' respond those who don't
want to learn.
-- Richard M. Stallman
http://www.gnu.org/philosophy/linux-gnu-freedom.html
pgpBsFLuczXvX.pgp
Description: PGP signature
__ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc
