This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]