Howto specifying a pre-compiled C++ header ?

Nathan Myers ncm@cygnus.com
Mon Oct 12 22:24:00 GMT 1998


Geoffrey L. Brimhall wrote:
> 
> Coming from a msvc++ background, it had a directive for precompiled 
> header file which greatly increased compile time.
> 
> Does egcs have something similar ? If so, what is the command line 
> directive to invoke it ?

The Egcs compiler doesn't need such a directive, it has greatly-increased 
compile time by default.  ;-)

Seriously, what you are asking for is really support for the "export" 
keyword.  This is a standard, portable solution to the problem.  Only 
preliminary work on this has been done on it, to my knowledge.

Nathan Myers
ncm@cantrip.org



More information about the Gcc mailing list