This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Urgent Question regarding GCOV
- From: Jayashree Ramani <rjayashree at yahoo dot com>
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: Ian Lance Taylor <iant at google dot com>, gcc-help at gcc dot gnu dot org
- Date: Thu, 23 Apr 2009 04:06:04 -0700 (PDT)
- Subject: Re: Urgent Question regarding GCOV
- Reply-to: rjayashree at yahoo dot com
Thanks very much Ben. I sincerely appreciate your prompt response. I used gcc 4.1.0 after Ian's suggestion that 3.3.3 was too old. Everything worked for me.
Thanks to Ian who pointed me in the right direction.
sincerely,
jayashree
--- On Wed, 4/22/09, Ben Elliston <bje@au1.ibm.com> wrote:
> From: Ben Elliston <bje@au1.ibm.com>
> Subject: Re: Urgent Question regarding GCOV
> To: rjayashree@yahoo.com
> Cc: "Ian Lance Taylor" <iant@google.com>, gcc-help@gcc.gnu.org
> Date: Wednesday, April 22, 2009, 5:45 PM
> On Wed, 2009-04-22 at 07:46 -0700, Jayashree Ramani wrote:
>
> > I have used "-fprofile-arcs -ftest-coverage"
> options for compilation. Do I still add --coverage for
> Linking as LINK_FLAGS?
>
> Forget about -fprofile-arcs -ftest-coverage. Just use
> --coverage for
> both compilation and linking (but I think 3.3.3 will be too
> old).
>
> > I will try that.... whats the latest gcc we should
> use?
>
> 4.4.0 was just released.
>
> Cheers, Ben