Urgent Question regarding GCOV

Ben Elliston bje@au1.ibm.com
Wed Apr 22 21:45:00 GMT 2009


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




More information about the Gcc-help mailing list