One obscure trick to dramatically speed up build times under gcc is to set up meta files that include a block of .cpp files.
The time for a fullbuild on my project dropped from 20+ minutes to slightly under 5 minutes.
Of course, it suddenly becomes much easier to shoot yourself in the foot because statics and #defines start to exist outside the scope of a single .cpp file.
This can also work to your advantage with a gcc2.9x series compiler as it tends to create extra copies of template code in each of your object files. (Our binary size dropped significantly)
Posted by matt at June 28, 2003 12:40 PM