Projects / ccache

ccache

ccache is a compiler cache. It speeds up recompilation of C/C++ code by caching previous compilations and detecting when the same compilation is being done again.

Tags
Licenses
Implementation

RSS Recent releases

  •  08 Jan 2012 18:53

Release Notes: Several minor bugs have been fixed: failure when creating files in the cache directory has been made fatal. Recognition and hashing of GCC plugins specified with -fplugin=file has been added. CPATH, C_INCLUDE_PATH, and similar environment variables are now added to the hash to avoid false cache hits when such variables have changed. The GCC bug compatibility introduced in ccache 3.1.5 for -MT/-MQ options with concatenated arguments has been reverted.

  •  21 Aug 2011 17:14

Release Notes: This release adds support for rewriting the --sysroot argument if CCACHE_BASEDIR is used. It fixes a bug when getcwd() fails. It fixes bad alignment in "ccache -s" output.

  •  29 May 2011 18:34

Release Notes: Minor bugfixes and improvements have been made. There is a new statistics counter named "called for preprocessing'', improved logging, and better handling of -MF/-MT/-MQ options.

  •  10 Jan 2011 01:22

Release Notes: A work-around for a bug in gzputc() in zlib 1.2.5 has been made. Corrupt manifest files are now removed so that they won't block direct mode hits. ccache now copes with file systems that don't know about symbolic links. The file handle is now correctly closed on write errors when trying to create a cache dir tag.

  •  28 Nov 2010 19:38

Release Notes: The -MFarg, -MTarg, and -MQarg compiler options (i.e., without a space between the option and argument) are now handled correctly.

RSS Recent comments

07 Jan 2003 19:44 tridge

Re: Patches
Thanks!

Most of these changes are in 2.1, except for the copy_permissions() code. I suggest an equivalent method using umask and directory permissions in the docs instead.

21 Oct 2002 16:03 afuruhed Thumbs up

Patches
I think ccache is one of the best additions to the development tool chain/box in a number of years.
I have made changes to fix a few problems that we had with ccache. By using a shared ccache among our group of developers, the compile times are cut drastically in situations such as when new code has been pulled from the SCM repository.

Our updates can be found here: www.pantor.com/downloa...

04 Jun 2002 23:49 bootswork

Use this with ccache...
See also distcc (freshmeat.net/project/..., which works well with ccache (or by itself). It distributes the work of compilation across several machines on a network.

24 May 2002 16:29 msilveira

Outstanding tool for packagers!
Ccache is simply great. Wether you are playing with some source code or you're a software packager, ccache will save you precious time on recompiling. For some like me, with a slow computer (P2-266), recompiling glibc because you have mistyped something or whatever mistake you've done means other two hours-waiting, that's when ccache gets into the scene to save the world, much like a "C compiling super-hero".

It will simply get the pre-compiled, disk-cached, ready-to use "pieces", and your CPU will have to handle the simple job of putting all those "pieces" together, instead of spending time processing all the arithimetics again. ;)

(Just imagine how pissed you'll get if you have forgotten something in openoffice's compile procedure, and realized that mistake when you're about to install or package it!? :-O ... err)

Great Job Andrew...

Great Job Erik...

Screenshot

Project Spotlight

Nervepoint Access Manager

A self-service password reset virtual appliance.

Screenshot

Project Spotlight

MALODOS

Digital asset management software written with simplicity, portability, and open format in mind.