667
edits
Changes
→Using a compiler cache
== Using a compiler cache ==
Usinc ccache for Mozilla development is a safe and effective way to reduce build times on Linux and Mac OS X.
=== Linux ===
==== Ubuntu ====
On Ubuntu, simply install the '''ccache''' package:
sudo apt-get install ccache
=== Mac OS X ===
sudo port install ccache
After installing, you will need to symlink your compilers in order to have them work with ccache:
for X in cc gcc g++ c++ ; do ln -s /usr/bin/$X /opt/local/bin ; done