This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using ccache to improve compilation speed
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Craig Rodrigues <rodrigc at attbi dot com>, <gcc at gcc dot gnu dot org>
- Date: Tue, 7 May 2002 08:31:58 -0400 (EDT)
- Subject: Re: Using ccache to improve compilation speed
On Tue, 7 May 2002, Jakub Jelinek wrote:
> On Tue, May 07, 2002 at 07:47:23AM -0400, Daniel Berlin wrote:
> > Right.
> > The reason ccache improves compilation speed is because of false
> > dependencies in makefiles and whatnot.
>
> Not always.
> For developing an application out of CVS it is usually really a matter of broken
> makefile dependencies if files are recompiled needlessly, but
> e.g. when building from src.rpm (resp. .deb and whatever other package
> format), the sequence is unpack the source somewhere, apply patches,
> build, install, package.
> If you are building foo-1.1 package and later on foo-1.2
> then lots of compilation usually can be saved and it is
> definitely not because of broken makefile dependencies.
Sure. I was including that in the "whatnot", but i probably should have
been more clear that one of the other major case is when you happen to
have compiled it some other time, and it hasn't changed.
But I still don't think it's something for gcc to be doing on it's own.
--Dan
>
> Jakub
>