public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* header compilation
@ 2002-10-10 10:38 Lorenzo Delana
  2002-10-10 12:49 ` Mike Stump
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Delana @ 2002-10-10 10:38 UTC (permalink / raw)
  To: gcc


Doesn't exists any planned feature for the GCC for the header compilation ?

For example A.c, B.c, C.c are three source code that, for each one, something 
like 10 headers file are included with the same preprocessor directive 
(eg.-DHAVE...) and I would to have a precompiled "header" so that the TIME 
spent in compiling for, if each of these sources are of the same `complexity' 
with time S, and for the 10 header say that H are the time, we have:

 S + H ( first compiling A.c )
 + S + S ( for B.c , C.c )

The compiler should mantain, possibly, a compiled version of the header ( with 
preprocessor informations collected ), in /tmp, so when next request of the 
same header compilation cames, the GCC can `cat' these objects...instead of 
compiling them each time!?:-|

bye
Lore

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: header compilation
  2002-10-10 10:38 header compilation Lorenzo Delana
@ 2002-10-10 12:49 ` Mike Stump
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2002-10-10 12:49 UTC (permalink / raw)
  To: Lorenzo Delana; +Cc: gcc

On Thursday, October 10, 2002, at 12:07 PM, Lorenzo Delana wrote:
> Doesn't exists any planned feature for the GCC for the header 
> compilation ?

 From http://gcc.gnu.org/cvs.html:

pch-branch. This branch contains work-in-progress towards a precompiled 
header implementation, including lots of garbage collector changes. As 
yet, the branch contains no actual precompiled header work; a public 
announcement will be made on the GCC mailing list when it is ready for 
testing.

Yes, the feature is planned and being implemented.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-10 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-10 10:38 header compilation Lorenzo Delana
2002-10-10 12:49 ` Mike Stump

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).