OK, I just found out about this tool and called "ccache" I wanted to
share my enthusiasm with somebody. Basically, it keeps a cache of
previous invocations of gcc and makes re-compilation INSANELY faster.
What I did on my Debian work box is
<bash>
configure CC='ccache gcc' --enable-quiet-build --enable-build-addons \
--with-odbc --enable-build-editor --disable-xdg
time make -j6
make clean
time make -j6
</bash>
First make:
real 0m42.887s
user 3m46.995s
sys 0m27.083s
Second make:
real 0m9.971s
user 0m48.332s
sys 0m10.464s
I found out about ccache on a stackoverflow page. Guess who the tip is
from? Our friend Dirk Eddelbuettel 🙂
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------