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]

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


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