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: 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


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