[ccache] ccache and gcc triplet

Joel Rosdahl joel at rosdahl.net
Mon Jan 24 14:36:43 MST 2011


On 2011-01-23 22:43, Gilles Espinasse wrote:
> [...]
> I had think to add triplet symlink (i486-linux-gnu-gcc) to ccache.
> 
> Is there another solution?

The other option is to add ccache as a prefix to the compilation row, so
that

    i486-linux-gnu-gcc arg ...

becomes

    ccache i486-linux-gnu-gcc arg ...

instead. How to do that depends on the build system, of course.

> Should not that issue be referenced in the doc?

I think that adding that kind of detail to the docs would not be very
useful since it's not a common scenario, but maybe we could improve the
current manual (http://ccache.samba.org/manual.html#_run_modes) in more
generic terms. Do you have any ideas on how?

-- Joel


More information about the ccache mailing list