It enhances (re-)compilation by maintaining a cache of previously built object files. This comes in very handy if you ever do:
make clean; makeOr as I do, switch between development lines or versions of a program to perform a test and then have to do a full recompile each time.
After installing it on Fedora:
# yum install ccacheI did:
# ln -s $(which ccache) /usr/local/bin/gccso that it would automatically be invoked in place of the non-caching compiler.
# ln -s $(which ccache) /usr/local/bin/g++
# ln -s $(which ccache) /usr/local/bin/cc
No comments:
Post a Comment