This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: reduce compilation times?
- From: John Love-Jensen <eljay at adobe dot com>
- To: mahmoodn <nt_mahmood at yahoo dot com>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Tue, 27 Nov 2007 06:25:13 -0600
- Subject: Re: reduce compilation times?
Hi mahmoodn,
> Is it possible to reduce compilation time with GCC?
Yes.
Besides the approaches that Andrew pointed out, there is also having good
source code hygiene, with low coupling and high cohesion, and having the
#include statements only include that which is needed in the translation
unit, and relying on header-header files.
Details of which -- and a lot more good stuff -- is in this book:
Large-Scale C++ Software Design
by John Lakos
http://www.amazon.com/dp/0201633620/
HTH,
--Eljay