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]
Other format: [Raw text]

Re: Suggestions for improving gcc 3.2 compilation speed?


On Fri, 7 Mar 2003, Benjamin Kosnik wrote:

> > I have a g++ compiler that is 5.6x faster than the current g++ when
> > compiling large C++ code bases. That's when compared to a g++ PCH,
> > without it, more like 8x to 16x faster when PCH isn't used.
>
> Your PCH numbers are interesting to me.
>
> I cannot get PCH to work with g++. How are you able to do this? Are you
> generating individual .pch files for each header (don't see any
> significant speed improvement), or are you using -include
> big_globbed_header.h.pch (and if so, can you port the patches to do this
> to mainline g++, because it currently doesn't work), or is there another
> approach?
>

I'm also interested since I still see while using PCH (at least on 2 weeks
old main-trunk sources) already defined symbol assembler error messages.
Problem reported: http://gcc.gnu.org/ml/gcc/2003-01/msg00419.html

Thanks,

Karel
--
Karel Gardas                  kgardas at objectsecurity dot com
ObjectSecurity Ltd.           http://www.objectsecurity.com


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