ccache

I just found out about the ccache tool. It's a tool that sits in front of gcc and caches the results of each compile, so that subsequent builds go a lot faster. I've been rebuilding my sources over and over today, trying to get code coverage to work, and it has come in handy. Unfortunately, it doesn't yet support gcc's code coverage features, because it doesn't realize that it needs to cache the *.bb and *.bbg files that gcc generates -- instead, it only caches the object file. It's still useful, though.

Followups to ccache:

Posted on March 2, 2004 05:24 PM
More programming articles

Comments

Yeah, ccache is great. You might also like to check out colormake, valgrind, libsafe, the boehm garbage collector, and their various offspring and variants. Lots of useful tools out there.

Posted by: aaa at March 2, 2004 08:46 PM

Thanks for the list. I already knew about valgrind and the boehm gc, and I've been using a homegrown version of colormake for quite a while (built on a colorizing grep that I wrote). However I hadn't heard of libsafe before. It's an interesting idea.

Posted by: Kim at March 3, 2004 11:56 AM

I've had endless problems with ccache, though it might just be with Gentoo's particular way of installing it. I use it and suddenly things don't link that used to. Seems that it caches too liberally. But it's good that it's working for you.

And I had no idea gcc had code coverage features. Neat.

Posted by: Luke at March 5, 2004 12:05 AM

A couple other interesting bits: gcc has support for precompiled headers. This is available on the 3.4 branch in CVS. Vesta supports caching as well as lots of other stuff. Overvew of vesta. KCachegrind and calltree a pretty nice too if you are using valgrind.

Posted by: at March 5, 2004 04:02 AM

Laptop Battery Laptop Battery Laptop Batteries
Laptop Batteries discount laptop battery
discount laptop battery
notebook battery notebook battery
computer battery computer battery
replacement laptop battery replacement laptop battery
notebook batteries notebook batteries

Posted by: Laptop Battery at November 24, 2009 10:57 PM

People all over the world know the abercrombie and fitch,but not everyone really knows how fashion the abercrombie is,hollister is the Legend maker. Everybody wears the hollister clothing would be the abercrombie mens and the abercrombie womens, if you want know you can search the Ruehl No.925 or abercrombie outlet in the www.google.com .

Posted by: fitch at November 25, 2009 09:40 PM

Just wanted to say great job with the blog, today is my first visit here and I’ve enjoyed reading your posts so far
ugg bailey button
Wow, my ugg classic mini will not be coming off now! I’ve had them on for 12hrs strait and I do not want to take them off. Thanks for everything, well worth the wait.

Posted by: ugg bailey button boots at November 30, 2009 06:25 AM
Post a comment









Remember info?




Prove you're human. Type "human":