Can gcov handle a subject which contain multiple soure files?
XiaoQu
xqu@cse.unl.edu
Mon Aug 20 22:45:00 GMT 2007
Hello there,
This is Xiao Qu from University of Nebraska - Lincoln. I am trying to
use "gcov" to get some coverage information of one subject.
This subject was compiled like:
gcc -c -fprofile-arcs -ftest-coverage f1.c f2.c f3.c f4.c
gcc -fprofile-arcs -ftest-coverage f1.o f2.o f3.o f4.o -o ff.exe
Then I ran a test case on ff.exe but no .gcda file was generated. I am
just wondering whether gcov could handle such case? How to do that?
Thank you very much!
Xiao
More information about the Gcc
mailing list