/[gentoo]/xml/htdocs/doc/en/handbook/hb-working-features.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-working-features.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.29 Revision 1.30
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v 1.29 2005/07/02 11:04:02 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v 1.30 2005/10/09 15:55:34 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.26</version> 11<version>1.27</version>
12<date>2005-07-02</date> 12<date>2005-10-09</date>
13 13
14<section> 14<section>
15<title>Portage Features</title> 15<title>Portage Features</title>
16<body> 16<body>
17 17
166<pre caption="Editing CCACHE_SIZE in /etc/make.conf"> 166<pre caption="Editing CCACHE_SIZE in /etc/make.conf">
167CCACHE_SIZE="2G" 167CCACHE_SIZE="2G"
168</pre> 168</pre>
169 169
170<p> 170<p>
171To check if ccache functions, ask ccache to provide you with its statistics: 171To check if ccache functions, ask ccache to provide you with its statistics.
172Because Portage uses a different ccache home directory, you need to set the
173<c>CCACHE_DIR</c> variable as well:
172</p> 174</p>
173 175
174<pre caption="Viewing ccache statistics"> 176<pre caption="Viewing ccache statistics">
175# <i>ccache -s</i> 177# <i>CCACHE_DIR="/var/tmp/ccache" ccache -s</i>
178</pre>
179
180<p>
181The <path>/var/tmp/ccache</path> location is Portage' default ccache home
182directory; if you want to alter this setting you can set the <c>CCACHE_DIR</c>
183variable in <path>/etc/make.conf</path>.
176</pre> 184</p>
185
186<p>
187However, if you would run <c>ccache</c>, it would use the default location of
188<path>${HOME}/.ccache</path>, which is why you needed to set the
189<c>CCACHE_DIR</c> variable when asking for the (Portage) ccache statistics.
190</p>
177 191
178</body> 192</body>
179</subsection> 193</subsection>
180<subsection> 194<subsection>
181<title>Using ccache for non-Portage C Compiling</title> 195<title>Using ccache for non-Portage C Compiling</title>

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.20