Profiling gcc itself
Tim Prince
n8tm@aol.com
Mon Nov 21 01:02:00 GMT 2011
On 11/20/2011 11:10 AM, Basile Starynkevitch wrote:
> On Sun, 20 Nov 2011 03:43:20 -0800
> Jeff Evarts<riventree@gmail.com> wrote:
>
>> I posted this question at irc://irc.oftc.net/#gcc and they suggested
>> that I pose it here instead.
>>
>> I do some "large-ish" builds (linux, gcc itself, etc) on a too-regular
>> basis, and I was wondering what could be done to speed things up. A
>> little printf-style checking hints to me that I might be spending the
>> majority of my time in CPP rather g++, gasm, ld, etc. Has anyone
>> (ever, regularly, or recently) built gcc (g++, gcpp) with profiling
>> turned on? Is it hard? Did you get good results?
> I'm not sure the question belongs to gcc@gcc.gnu.org, perhaps gcc-help@gcc.gnu.org might
> be a better place.
If you choose to follow such advice, explaining whether other facilities
already in gcc, e.g.
http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html
apply to your situation may be useful.
--
Tim Prince
More information about the Gcc
mailing list