Search code examples
gcovlcovubuntu-19.04

Cannot install gcov without version suffix


I try to install gcov to be able to generate coverage reports. I'm on machine Ubuntu 19.04 and have installed gcov-8, which is working pretty well.

The problem is (as I can understand) that lcov tries to use gcov instead gcov-8. If I install gcc-9, the gcov is going to be installed, but in this case, I'm getting version mismatch problems.

Can anyone help me to figure out what to do to?


Solution

  • The problem resolved. Just removed and reinstalled gcc.