Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: question about setting up ccache with rockbox toolchain.

Re: question about setting up ccache with rockbox toolchain.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 6 Aug 2010 23:07:13 +0200 (CEST)

On Fri, 6 Aug 2010, alex wallis wrote:

> I only recently realised that in order to take advantage of ccache when
> compiling rockbox I actually needed to configure it.

I never needed to and I've not heard anyone else having had to do this either.

> Firstly, what sort of cash size will I need? At the moment, ccache is set to
> use the default cash size of 1 gb. Also, what is the number of files I
> should set the cash to hold?

It's a cache, the larger you make it the more files ccache can have there.
There's no fixed limit, you can experiment both upward and downward to find
your own sweet spot.

> Next, because rockbox can be compiled for multiple targets, does each target
> that uses gcc need to have its own cash?

No. ccache handles that all by itself.

> I also have two versions of the rockbox code, in separate folders, one for
> working with patches and an unmodified version that has no changes, do these
> also need to have independent cashes

No

> Lastly, what compilers in the toolchain do I need to set up ccache to use?

There's no need to setup it at all. Just install it, and if Rockbox's
configure finds it, it will be used when you build Rockbox.

-- 
  / daniel.haxx.se
Received on 2010-08-06

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy