Re: [ccache] Ccache and cross compilers

2012-07-19 Thread Joel Rosdahl
On 9 July 2012 19:06, DATACOM - Samuel Lucas samuellu...@datacom.ind.br wrote: [...] I'm wondering if it's safe to use a single ccache directory for both architectures or I must use separated directories for each architecture. The compiler's mtime, size and content are the same for both.

[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

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