This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Precompiled headers (or other speed ups)


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]