Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 293965

Summary: ccache section of the haddbook should be updated
Product: [OLD] Docs on www.gentoo.org Reporter: KevinS <kstratton>
Component: Installation HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description KevinS 2009-11-21 16:39:41 UTC
I am looking at the document: 
 
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=3#doc_chap1 
 
relating to ccache: 
 
In the document it states that the following environment variables should be set in /etc/make.conf 
 CCACHE_SIZE="2G" 
 CCACHE_DIR="/var/tmp/ccache" ccache -s 
 
 when I emerge ccache, I get this 
 
 * To use ccache with **non-Portage** C compiling, add 
 * /usr/lib64/ccache/bin to the beginning of your path, before /usr/bin. 
 * Portage 2.0.46-r11+ will automatically take advantage of ccache with 
 * no additional steps. If this is your first install of ccache, type 
 * something like this to set a maximum cache size of 2GB: 
 * # ccache -M 2G 
   
Which implies that setting the variables in /etc/make.conf is not needed. Setting CCACHE_DIR as recommended by the handbook creates errors when emerging.
 
I think it might be a good idea for the handbook to be updated on this issue.
Comment 1 nm (RETIRED) gentoo-dev 2009-11-22 03:16:44 UTC
Still works here. man make.conf agrees that these variables are still okay.