This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
header compilation
- From: Lorenzo Delana <ldelana at libero dot it>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 10 Oct 2002 19:07:52 +0000
- Subject: header compilation
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