On 2010-07-30 14:14, David Boyce wrote: > On Fri, Jul 30, 2010 at 7:09 AM, Joel Rosdahl <j...@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 >> misleading. > > 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. -- Joel _______________________________________________ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache