compilercache mini policy
Version 1.0, 2002-10-01, Jochen Voss

Compilercache is a set of wrappers around C and C++
compilers. Each time you compile something, the wrapper puts the
result of the compilation into a cache. And once you compile the
same thing again, the result will be picked from the cache instead
of being recompiled.

In order to achive a good integration of different compilers into
the compilercache system, some cooperation between the
compilercache package and the compiler package is needed.  This
document gives guidelines for packages, which want automatic
compilecache support.

1) Installation:

    Packages, which want to hook into compilercache, should add a
    link for their compiler executable (under the same name) in
    the /usr/lib/compilercache directory.  Example:

	cd /usr/lib/compilercache
	ln -s compilercache gcc-foo
	ln -s compilercache g++-foo

    If the directory does not exist, they must create it.  During
    package removal these packages must remove the link.  If the
    /usr/lib/compilercache directory is empty after removing the
    link, they should remove the directory, too.

2) Compiler options:

    Compilercache needs to understand some of the compiler
    options.  As compilercache was written to support C and C++
    compilers, any compiler who wants to hook into compilercache
    must use command line options which are compatible with the
    standard C compiler options (like -c, -o, -g, and so on).
