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@xxxxxxxxxxx> wrote: > From: Ben Elliston <bje@xxxxxxxxxxx> > Subject: Re: Urgent Question regarding GCOV > To: rjayashree@xxxxxxxxx > Cc: "Ian Lance Taylor" <iant@xxxxxxxxxx>, gcc-help@xxxxxxxxxxx > 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