[ccache] how to use ccache

Francois Marier francois at debian.org
Sat Dec 8 07:17:48 GMT 2007

On 2007-12-07 at 22:45:01, Mahmood NT wrote:
> "These are for caching a whole translation unit and wont help for CGAL,
>  because here, most programs only have one translation unit (one C file,
>  which includes everything else)."

That would explain why you're not getting any benefits from ccache.  ccache
does add a bit of overhead so the first time you compile things, it may take
slightly longer.

If your library makes it so that you can't reuse any of the already compiled
objects, then ccache is unlikely to make things faster for you.


More information about the ccache mailing list