Reputation: 251
I am building gcc from source code. What changes to Makefile should I make to be able to get the coverage of GCC when it compiles a source code?
Note that I want the coverage in the GCC itself.
Upvotes: 0
Views: 196
Reputation: 251
Before building gcc from source code, use --enable-coverage
for the configuration. i.e. ./configure --enable-coverage
.
Upvotes: 1