A co-worker recently told me about a cool utility called ccache.  It is a cc
replacement command that caches your compiles globally (MD5 hashes source
and command line arguments and stores object files in a cache directory in
your home directory).  Great for cvs builds with fink.  Yes, it eventaully
consumes lots of disk space, but it is worth a gig for me when gnome
updates!

http://freshmeat.net/projects/ccache
http://ccache.samba.org/

It isn't in fink yet.  The brave can download tar.gz file (version 1.9) from
URL  above.  And basically do the following commands.  This requires some
unix knowledge.

> tar -xzvf ccache*.gz
> cd ccache*
> ./configure --prefix=/sw
> make
> sudo make install
(enter password)
> cd /sw/bin
> sudo ln -s ccache cc
> sudo ln -s ccache gcc

The next time you build, it will use ccache.  To get cache statistics, run
ccache -s

Cheers,
Brian

_____________________________________________________________
Brian Schott, Project Leader             [EMAIL PROTECTED]
USC Information Sciences Institute            ph:703-812-3722
3811 North Fairfax Drive, Suite 200           fx:703-812-3712
Arlington, VA 22203




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to