This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cachecc1, a gcc cache
- From: Benoit Poulot-Cazajous <Benoit dot Poulot-Cazajous at Jaluna dot COM>
- To: <gcc at gcc dot gnu dot org>
- Date: 26 Nov 2003 23:38:03 +0100
- Subject: cachecc1, a gcc cache
- Organization: Jaluna
Hi,
For those who missed the freshmeat announces, I would like to
introduce cachecc1. It is a compiler cache, like ccache, but it has a
few features that make it more efficient for gcc development : it is
transparent and can cache gcc bootstraps.
cachecc1 caches compilations at the cc1/cc1plus/as level, thanks to a
LD_PRELOADed program that catches execs. So it is not necessary to
create symlinks, to prefix commands, to change Makefiles or to
override the CC variable in order to enable caching. It works fine
with native or cross compilers, wherever they are installed.
To compute cache keys, it uses a signature of the backend binary,
unlike ccache that uses a signature of the frontend metadata. Because
of this, gcc bootstraps can be cached.
However, it has a few rough edges : it only works for gcc, on Linux and
Solaris, its documentation is terse and it loves filling file systems.
cachecc1 can be downloaded from http://freshmeat.net/projects/cachecc1
-- Benoit