This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcov usage question
- To: gcc at gcc dot gnu dot org
- Subject: gcov usage question
- From: nbecker at fred dot net
- Date: 27 Sep 2001 14:46:34 -0400
How do I use gcov when I have a binary built from multiple libs in
multiple directories? All libs and the exec are compiled and linked
with -fprofile-arcs -ftest-coverage. But when I run gcov in the main
exec subdir, I don't see any output corresponding to the .cc source
files in other directories (which were linked in as .a libs). I have
gcov output for the .cc sources in the Main directory, and also the .H
sources that were included.