Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293965 - ccache section of the haddbook should be updated
Summary: ccache section of the haddbook should be updated
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-21 16:39 UTC by KevinS
Modified: 2009-11-22 03:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.