[distcc] Link-based masquerading and dist-cross-compiling
ncrfgs
ncrfgs at tin.it
Thu Oct 14 17:13:03 GMT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/distcc/attachments/20041014/6c1869c4/attachment.bin
More information about the distcc
mailing list