[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gprof annotation not working with GCC 3.3.3
From: |
Stepan Kasal |
Subject: |
Re: Gprof annotation not working with GCC 3.3.3 |
Date: |
Wed, 21 Apr 2004 15:43:55 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Tue, Apr 20, 2004 at 05:52:54PM -0400, Dan Katz wrote:
> Listing" states "Compiling with `gcc ... -g -pg -a' augments your
> program..."), but that option seems to no longer exist in gcc 3.3.3.
my friend and gcc hacker Jan Hubicka has informed me that -a and -ax
options have been removed. (It never worked, he adds.)
The current method is to use -fprofile-arcs -ftest-coverage options
and gcov.
I'm sure you'll find the details in "info gcc".
The gprof docs are not corrent with this respect, I have submitted
a bugreport a week or two ago. You may try resubmitting it, checking
the cvs before if you can.
Have a nice day,
Stepan Kasal