This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Precompiled headers (or other speed ups)
- To: gcc at gcc dot gnu dot org
- Subject: Precompiled headers (or other speed ups)
- From: amep at softhome dot net
- Date: Mon, 08 Jan 2001 21:44:48 -0600
- CC: amep at softhome dot net
- References: <978997896.4164.ezmlm@gcc.gnu.org>
Hi all,
I'm a fairly long time GCC (C/C++) user. Compile times have been fine
for most everything I've done. But, recently I've started doing some
heavy duty C++ stuff (STL, GTK--, etc.) and the compile time has shot
through the roof.
<Skip this paragraph if your not interested in the details of my
situation.> I have a single source file that takes 5-7 min to compile
on my Pentium 133 64M RAM. The file uses the following libraries:
GTK--, MySQL++ and STL. Pre-processed the file is 1.2M and it
contains 423 classes. That's really big I know, but there ought to be
some way to at least bring down the compile time a bit.
I was wondering if there is anyone actively working on precompiled
headers (my program is a good candidate for this) or something else to
speed up the compilation? If so, I'd love help out by testing or doing
anything else I can?
I don't know anything about writing compilers or the innards of GCC,
but I can do stack traces and other debugging stuff. Thanx.
Your impatient programmer, ;-)
-Arthur Peters
PGP signature