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

Compile faster with ccache

Up
vote
Down

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:4261 | -Ray, March 10, 2004 (Updated: October 21, 2004)
More Programming articles...

Buy Abstract Art Prints

coding headlines

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

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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