This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cachecc1, a gcc cache


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]