[ccache] how to use ccache

Mahmood NT nt_mahmood at yahoo.com
Sat Dec 8 07:24:19 GMT 2007


>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.


Excuse me but I did not understand. What is the mechanism of ccache?
 
Mahmood NT


----- Original Message ----
From: Francois Marier <francois at debian.org>
To: Mahmood NT <nt_mahmood at yahoo.com>
Cc: ccache list <ccache at lists.samba.org>
Sent: Saturday, December 8, 2007 10:47:48 AM
Subject: Re: [ccache] how to use ccache

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.

Francois


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the ccache mailing list