[ccache] request document.

Arunkumar Arumugam aarumuga at gmail.com
Wed Jun 8 20:21:30 GMT 2005

Thanks for the info

On 6/7/05, Andrew Tridgell <tridge at osdl.org> wrote:
> Arunkumar,
>  >               Try to find out if there is  good documentaion on ccache
>  > internals.
> I'm afraid that the 'HOW IT WORKS' section of the manual page is the
> best documentation available. Apart from that you can read the source
> code (which luckily is quite small).
>  > I could find multiple copies of same file in ccache directory, each
>  > prepended with a different hash.  could not understand it.
> It is quite possible for different C files to produce different cpp
> output and still produce the same object file. This is especially
> likely if you don't use the compilers -g to enable debugging
> information, but it can happen in ether case.
> The hash is based on the cpp output, so this is how you end up with
> the same object file, but different hashes.
> Cheers, Tridge

Sys. Engineer

More information about the ccache mailing list