Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Compile faster with ccache


Faster compilations without any new hardware...
What is ccache? According to the man page, it's a "caching pre-processor" for C/C++ compilers. It allows you to speed up compilation when you're doing multiple builds of a project. Where distcc allows you to distribute compilation across a number of machines, which is useful whether a package is built once or a hundred times, ccache becomes handy in situations where software is being compiled frequently.

For example, without using distcc or ccache to build distcc, make takes just over 12 seconds. The first run with ccache after running make clean also comes in at 12 seconds. After running make clean and running make again using ccache, the compile takes only 4 seconds.
 read more | mail this link | score:4259 | -Ray, March 10, 2004 (Updated: October 21, 2004)
More Programming articles...

Buy Digital Art on Acrylic

coding headlines

No Starch Press has published my Perl One-Liners book!

OpenShift Online: a non-developer guide

Detailed Error Handling In Bash

Tutorial: Create an NFS-like Storage Server with GlusterFS on Ubuntu 12.10


Firefox sidebar

Site map

Site info

News feed


(to post)


Articles are owned by their authors.   © 2000-2012 Ray Yeargin