[ccache] stat() versus gcc -v in the hash
Martin Pool
mbp at sourcefrog.net
Tue Jul 20 16:05:23 GMT 2004
On 19 Jul 2004, "M. Creidieki Crouch" <creidieki at gmail.com> wrote:
> Hi,
>
> I've been using ccache with my Gentoo system, and it's working really
> well. The only problem I'm having is that whenever I recompile my
> system ("emerge --emptytree world"), the mtime of my compiler changes,
> and none of my cache seems to work, even if the compiler is the same
> version and was compiled with the same options.
Why are you rebuilding your compiler if you get exactly the same
binary? That sounds like a Gentoo shortcoming. Maybe as someone
else says you should change emerge to use a smart install that
checks whether the program has changed?
That might be nice for backup tools and similar things too.
--
Martin
More information about the ccache
mailing list