is to use ccache [1] For this, install ccache and launch the configure with the options: ./configure CC="ccache gcc" CXX="ccache g++" Sylvestre PS: I haven't done any benchmark on this. Don't shoot the messenger! [1] http://ccache.samba.org/