Need to gcov shared library without building main executable program

Warren Ferguson zapfiddler@gmail.com
Tue Sep 3 15:22:00 GMT 2013


Is there a way for gcov to provide coverage analysis of a shared
library without building the main() program that uses the shared
library?

I have external users of the library that have their own executable
programs that use the library and I need to test code coverage with
those programs but I do not have access to their source code.

Surely somebody else has encountered this problem with gcov.

- Warren Ferguson



More information about the Gcc-help mailing list