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?
>It doesn't seem to show up in -H, not sure why (or what the correct
>behaviour might be). I usually debug using -MD.
Hmmm.
It looks to me like -MD and -H output is identical.
In terms of default behavior, I'd hope for the following:
- no .gch file is generated if it is incorrect (The present behavior,
where a flawed .gch file is emitted still baffles me)
- -H to show that the precompiled header file is being used. Perhaps
something like:
insert.o: 21_strings/insert.cc \
/mnt/hd/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/string \
/mnt/hd/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/stdc++.h \
(using) /mnt/hd/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/stdc++.h.pch \
...
The current behavior, on both of these points, is kind of confusing.
>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.
I've tried mainline after your patch (thanks) and still see don't see
any improvement. Perhaps it's something else?
-benjamin