This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcov usage question


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]