<body class="article">\r
<div id="header">\r
<h1>CCACHE(1)</h1>\r
-<span id="revnumber">version 3.6</span>\r
+<span id="revnumber">version 3.7.3</span>\r
<div id="toc">
<div id="toctitle">Table of Contents</div>
<noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
</p>\r
</dd>\r
<dt class="hdlist1">\r
-<strong><code>-F, --max-files</code></strong>=<em>N</em>\r
+<strong><code>--dump-manifest</code></strong>=<em>PATH</em>\r
</dt>\r
<dd>\r
<p>\r
- Set the maximum number of files allowed in the cache. Use 0 for no limit.\r
- The value is stored in a configuration file in the cache directory and\r
- applies to all future compilations.\r
+ Dump manifest file at PATH in text format. This is only useful when\r
+ debugging ccache and its behavior.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+<strong><code>-k, --get-config</code></strong>=<em>KEY</em>\r
+</dt>\r
+<dd>\r
+<p>\r
+ Print the value of configuration option <em>KEY</em>. See\r
+ <a href="#_configuration">CONFIGURATION</a> for more information.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+<strong><code>--hash-file</code></strong>=<em>PATH</em>\r
+</dt>\r
+<dd>\r
+<p>\r
+ Print the hash (in format <code><MD4>-<size></code>) of the file at PATH. This is only\r
+ useful when debugging ccache and its behavior.\r
</p>\r
</dd>\r
<dt class="hdlist1">\r
</p>\r
</dd>\r
<dt class="hdlist1">\r
+<strong><code>-F, --max-files</code></strong>=<em>N</em>\r
+</dt>\r
+<dd>\r
+<p>\r
+ Set the maximum number of files allowed in the cache. Use 0 for no limit.\r
+ The value is stored in a configuration file in the cache directory and\r
+ applies to all future compilations.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
<strong><code>-M, --max-size</code></strong>=<em>SIZE</em>\r
</dt>\r
<dd>\r
</p>\r
</dd>\r
<dt class="hdlist1">\r
+<strong><code>--print-stats</code></strong>\r
+</dt>\r
+<dd>\r
+<p>\r
+ Print statistics counter IDs and corresponding values machine-parsable\r
+ (tab-separated) format.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
<strong><code>-o, --set-config</code></strong>=<em>KEY=VALUE</em>\r
</dt>\r
<dd>\r
<p>\r
- Set configuration <em>KEY</em> to <em>VALUE</em>. See <a href="#_configuration">CONFIGURATION</a>\r
- for more information.\r
+ Set configuration option <em>KEY</em> to <em>VALUE</em>. See\r
+ <a href="#_configuration">CONFIGURATION</a> for more information.\r
</p>\r
</dd>\r
<dt class="hdlist1">\r
-<strong><code>-p, --print-config</code></strong>\r
+<strong><code>-p, --show-config</code></strong>\r
</dt>\r
<dd>\r
<p>\r
Print current configuration options and from where they originate\r
- (environment variable, configuration file or compile-time default).\r
+ (environment variable, configuration file or compile-time default) in\r
+ human-readable format.\r
</p>\r
</dd>\r
<dt class="hdlist1">\r
</dt>\r
<dd>\r
<p>\r
- Print the current statistics summary for the cache.\r
+ Print a summary of configuration and statistics counters in human-readable\r
+ format.\r
</p>\r
</dd>\r
<dt class="hdlist1">\r
</li>\r
<li>\r
<p>\r
-The manifest entries will include system header files as well, thus slowing\r
- down cache hits slightly.\r
+If -MD is used, the manifest entries will include system header files as\r
+ well, thus slowing down cache hits slightly, just as using -MD slows down\r
+ make.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+If -MMD is used, the manifest entries will not include system header files,\r
+ which means ccache will ignore changes in them.\r
</p>\r
</li>\r
</ul></div>\r
<div class="ulist"><ul>\r
<li>\r
<p>\r
-use the <strong>-include</strong> compiler option to include the precompiled header\r
- (i.e., don’t use <strong>#include</strong> in the source code to include the header); or\r
+use the <strong>-include</strong> compiler option to include the precompiled header (i.e.,\r
+ don’t use <strong>#include</strong> in the source code to include the header; the filename\r
+ itself must be sufficient to find the header, i.e. <strong>-I</strong> paths are not\r
+ searched); or\r
</p>\r
</li>\r
<li>\r
</li>\r
<li>\r
<p>\r
-add the <strong>-fpch-preprocess</strong> compiler option when compiling.\r
+(for the GCC compiler) add the <strong>-fpch-preprocess</strong> compiler option when\r
+ compiling.\r
</p>\r
</li>\r
</ul></div>\r
<div class="sect2">\r
<h3 id="_general">General</h3>\r
<div class="paragraph"><p>A general tip for getting information about what ccache is doing is to enable\r
-debug logging by setting <strong>log_file</strong>. The log contains executed commands,\r
-important decisions that ccache makes, read and written files, etc. Another way\r
-of keeping track of what is happening is to check the output of <strong>ccache -s</strong>.</p></div>\r
+debug logging by setting the configuration option <strong>debug</strong> (or the environment\r
+variable <strong>CCACHE_DEBUG</strong>); see <a href="#_cache_debugging">debugging</a> for more\r
+information. Another way of keeping track of what is happening is to check the\r
+output of <strong>ccache -s</strong>.</p></div>\r
</div>\r
<div class="sect2">\r
<h3 id="_performance">Performance</h3>\r
<h2 id="_more_information">More information</h2>\r
<div class="sectionbody">\r
<div class="paragraph"><p>Credits, mailing list information, bug reporting instructions, source code,\r
-etc, can be found on ccache’s web site: <a href="https://ccache.samba.org">https://ccache.samba.org</a>.</p></div>\r
+etc, can be found on ccache’s web site: <a href="https://ccache.dev">https://ccache.dev</a>.</p></div>\r
</div>\r
</div>\r
<div class="sect1">\r
<div class="sectionbody">\r
<div class="paragraph"><p>ccache was originally written by Andrew Tridgell and is currently developed and\r
maintained by Joel Rosdahl. See AUTHORS.txt or AUTHORS.html and\r
-<a href="https://ccache.samba.org/credits.html">https://ccache.samba.org/credits.html</a> for a list of contributors.</p></div>\r
+<a href="https://ccache.dev/credits.html">https://ccache.dev/credits.html</a> for a list of contributors.</p></div>\r
</div>\r
</div>\r
</div>\r
<div id="footnotes"><hr /></div>\r
<div id="footer">\r
<div id="footer-text">\r
-Version 3.6<br />\r
+Version 3.7.3<br />\r
Last updated\r
- 2019-01-13 21:38:14 CET\r
+ 2019-08-17 22:37:25 CEST\r
</div>\r
</div>\r
</body>\r