>     What I'd like to know is if anyone has figured out a way to do a
> g++ equivalent to Microsoft's "precompiled headers".

Not really needed for gcc.  The preprocessor has special-case logic to
recognise header files of the form

        /* optional comments */
        #ifndef SYMBOL
        #define SYMBOL
        /* Stuff */
        #endif

(i.e. almost any normal C/C++ header) and not bother to even open the file next
time it is referenced.  This gives most of the speedup that precompiled headers
would give.  (The remaining bit is avoiding lexing the include file text, but
that's not such a huge burden).




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to