This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: precompiled headers
- From: John Love-Jensen <eljay at adobe dot com>
- To: Adrian Sandor <aditsu at yahoo dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Tue, 21 Jan 2003 06:55:23 -0600
- Subject: Re: precompiled headers
Hello Adrian,
I may be mistaken, but I don't think there are precompiled headers in GCC
3.2.
However, I'm surprised that it's taking so long. I work with some massively
large projects, and the compiles don't take an egregious amount of time.
(On a 400MHz SPARC.)
Do your source files (.cpp and .h) include only the headers they need, or
are they including the world?
If they're including the world, I strongly suggest your project team
discipline themselves to only include things that are directly needed by
that source file. And NEVER rely on incidental inclusion of a needed header
file merely because some other included header file happens to include it.
--Eljay