Precompiled Header support for GCC-3.4

Mike Stump mrs@apple.com
Fri Sep 10 18:55:00 GMT 2004


On Thursday, September 9, 2004, at 09:55  PM, Prasad Kulkarni wrote:
> There is not significant decrease build time because of PCH support.

Compile with -H and/or -Winvalid-pch and ensure that all the PCH files 
are actually used in all compilations.  I suspect, you may be using it 
wrong.

> One thing I observed is that as the no. of header files included in
> each of PCH goes on increasing build time also increases.

Sounds generally wrong.  There will be some increase, in some cases.  
-H will tell you what's going on.



More information about the Gcc mailing list