Re: [ccache] Ccache and cross compilers

2012-07-09 Thread Richard Maw
On Mon, Jul 09, 2012 at 02:06:00PM -0300, DATACOM - Samuel Lucas wrote: > Does anyone knows if ccache uses also the compiler name for the > hash? Does it follow symbolic links for that? >From a look at the source code, it does hash the basename. However if you use ccache via a symlink it may use

[ccache] Ccache and cross compilers

2012-07-09 Thread DATACOM - Samuel Lucas
Hi, I'm using ccache in a project with gcc 4.0 power pc compilers from ELDK 4. We have two powerpc architectures (ppc_6xx-gcc and ppc_8xx-gcc). In ELDK both ppc_6xx-gcc and ppc_8xx-gcc are symbolic links to a single binary, powerpc-linux-gcc, which produces different objects depending on the h