This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Suggestions for improving gcc 3.2 compilation speed?
> Date: Sat, 8 Mar 2003 15:12:57 -0600
> From: Benjamin Kosnik <bkoz at redhat dot com>
> Cc: gcc at gcc dot gnu dot org
> >> Is the .pch just not being used?
> >
> >It's possible.
>
> I'm hoping that it's not being used, just from the timings.
>
> I was hoping for a bit more info than this if possible. Like, should the
> .pch file show up in -v -H? How is this debugged?
It doesn't seem to show up in -H, not sure why (or what the correct
behaviour might be). I usually debug using -MD.
> >You might want to check whether you're using a compiler that uses .pch
> >or .gch as the PCH extension.
>
> Apparently, mainline g++ on linux uses .pch by default. I tried to just
> generate a pch as you've previously instructed and the output file has
> .pch, not .gch.
Aargh. That's a bug. It creates with .pch, but is looking for .gch.
I'm testing the one-character fix now.
> Perhaps you could try this yourself?
I will.
--
- Geoffrey Keating <geoffk at geoffk dot org>