Article View: gnu.gcc.help
Article #53332precompiling headers
From: Josh N. Pritikin
Date: Tue, 04 Feb 1992 00:28
Date: Tue, 04 Feb 1992 00:28
13 lines
1188 bytes
1188 bytes
Is there any way (standard or hack) to precompile header files for g++? One of my header files is so full of macros and inlines that its 30K now and likely to double in size in the near future. A large part of the bulk (30%) is generated by a macro that emulates templates but even if templates were supported, the header file would be too large. Including it in a small .cc file generally doubles the compile time. It would also be nice to precompile all the system includes but that is far less urgent. joshp
Technical Details
Message-ID:
<QdXRsJO00Vp185go5V@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!udel!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!jpab+References:
<DAG.92Feb3181507@freya.kvatro.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,fce99ab078836eca,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-02-02 14:28:58 PST Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!udel!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!jpab+ From: jpab+@andrew.cmu.edu (Josh N. Pritikin) Newsgroups: gnu.gcc.help Subject: precompiling headers Message-ID: <QdXRsJO00Vp185go5V@andrew.cmu.edu> Date: 4 Feb 92 00:28:05 GMT References: <DAG.92Feb3181507@freya.kvatro.no> Organization: Sophomore, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA Lines: 13 In-Reply-To: <DAG.92Feb3181507@freya.kvatro.no>