'Ccache' is a fast compiler cache. It acts as a caching pre-processor to C/C++ compilers, using the -E compiler switch and a hash to detect when a compilation can be satisfied from cache. When the same code is compiled again the cached output is used, giving a significant speedup (typically 5x). You can also create symbolic links from your compiler's name to ccache; this lets you use ccache without any changes to your build system. 'Ccache' produces the same output that the real compiler would, including the same object files and compiler warnings that the real compiler would produce. The only way to tell you are using ccache is the speed.
DocumentationUser manpage available in HTML format from https://ccache.samba.org/manual.html
released on 17 February 2017
:pserver:email@example.com:/cvsroot co ccache
17 May 2002
Leaders and contributors
Resources and communication
This entry (in part or in whole) was last reviewed on 8 February 2018.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.