Mail Archives: djgpp/1997/06/24/14:33:54
"John M. Aldrich" <fighteer AT cs DOT com> wrote:
>Gregary J Boyles wrote:
>>
>> Does DJGPP have them?
>What are they? And why would you want them? Headers get inserted into
>your code by the preprocessor and compiled along with the rest of your
>program. I'm afraid that I don't understand what you're asking.
To answer the second question, pre-"compiled" headers are actually
pre-PARSED headers. To generate a pre-"compiled" header file, the
compiler dumps its symbol table after parsing the header files; to use
it, the compiler merely reads this symbol table back in instead of
parsing the header files again. Obviously, this is only useful if you
have a lot of CPP files that #include the SAME headers in the SAME
order. But many programs do this, especially with large complicated
header files like windows.h, the Standard Template Library, or any
large windowing framework such as SWORD or OWL. Pre-compiled headers
can speed things up a LOT.
To answer the first question, DJGPP does not have them, but I think
they would be a very nice addition to GCC on ALL platforms.
--------
Ed Kiser ( e d k i s e r @ s o u t h e a s t . n e t )
"The man who does not read good books has no advantage over
the man who can't read them." -- Mark Twain
- Raw text -