This is the mail archive of the gcc@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: Problem with PFE approach [Was: Faster compilation speed]


On Monday, Aug 19, 2002, at 12:54 US/Pacific, Jeff Epler wrote:

.. then the build system must treat m.c as depending on the PFE, which
in turn depends on all headers it contains. But that's where this
discussion started, with the PFE cure being worse than the illness since
it makes your whole project recompile when you touch a header file.
I do see your point; however, this is the trade-off you will find with
other prefix precompiled header implementations (e.g., CodeWarrior) as
well. The usual heuristic it to place only headers which are _not_
part of your project (either system headers or headers in other projects)
into the prefix header, on the assumption that they change infrequently.

--Zem
--------------------------------------------------------------
Ziemowit Laski 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group Cupertino, CA USA 95014-2083
Apple Computer, Inc. +1.408.974.6229 Fax .5477


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