[ccache] ccache-like tool
joel at rosdahl.net
Fri Jul 30 07:48:49 MDT 2010
On 2010-07-30 14:14, David Boyce wrote:
> On Fri, Jul 30, 2010 at 7:09 AM, Joel Rosdahl <joel at rosdahl.net> wrote:
>> ccache (on a direct mode cache miss) first runs the preprocessor and
>> then (on a preprocessor mode cache miss) compiles the output from the
>> preprocessor, so saying that it runs the compiler twice is a bit
> Agreed. I didn't realize this about ccache. Has it always been this
> way? I'll clarify.
It seems it was added in 1.6 (2002-04-08).
>> One case where I think that ccache actually is more robust than AO is
>> when an object file should change even if no files have changed. For
>> instance, the expansion of the preprocessor macros __TIME__, __DATE__
>> and __FILE__ change independently of the source code files.
> __TIME__ and __DATE__, yes. __FILE__? Doesn't look like an absolute
> path to me.
It is if the source file path is absolute.
More information about the ccache