This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Precompiled headers (or other speed ups)
- To: <dewar at gnat dot com>, "Gcc at Gcc dot Gnu. Org" <gcc at gcc dot gnu dot org>
- Subject: RE: Precompiled headers (or other speed ups)
- From: "Rob Taylor" <robt at flyingpig dot com>
- Date: Tue, 9 Jan 2001 11:02:09 -0000
> Of course it is always worth smoking out bottlenecks, but I find the
> compilation performance you report not unreasonable. Why on EARTH do
> you have a single source file this long -- sounds like simply awful
> programming style???
>
preprocessed source this size is a pretty common occurence with c++ code of any
size, in my experience. just include a couple of libraries and you're there. I
know our code takes donkeys to compile with gcc -- on MSVC a complete recompile
of our tree takes 15-20 mins. On gcc it takes at least 4 hours! (these times
both in 128Mb 500 Mhz PIII's) A major problem I see is that compilation time for
gcc is non-linear to the size of the source. precompiled header would probably
help these problems sizably.
Rob