Thursday, October 22, 2009

Ccache - Caching Compilation in Gentoo Linux

Ccache is a fast compiler cache. To install it, do this:

# emerge ccache

For 1st install:

# ccache -M 2G

Then:

# nano -w /etc/make.conf
  • FEATURES="ccache"
  • CCACHE_SIZE="2G"
  • CCACHE_DIR="/var/temp/ccache"
# PATH="/usr/lib/ccache/bin:/opt/bin:${PATH}"

To view ccache statistics:

# CCACHE_DIR="/var/temp/ccache" ccache -s

No comments:

Post a Comment

Hi, for all of those who already put comments on my blog post, thanks.. really appreciate it. And for those who have not, just put your comments here :)