[ccache] Passing plain compiler-name to distcc (via CCACHE_PREFIX)?

David Gardner daveg at xmos.com
Wed Jun 8 03:31:53 MDT 2011

> Making it optional would certainly be possible, but I'm not sure that
> the use case is common enough to warrant such special-casing. I think
> you should be able to solve it by letting the prefix command be a
> wrapper script like this instead:
>     #!/bin/sh
>     compiler=$(basename $1)
>     shift
>     exec distcc "$compiler" "$@"
> What do you think?

That will do nicely :)  I guess I was looking for a more complex
solution when I really wanted something straightforward like this...

    Many thanks,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/ccache/attachments/20110608/218b68bc/attachment.pgp>

More information about the ccache mailing list