Skip to content

Use gcov version that matches GNU compiler.#109

Open
eyal0 wants to merge 1 commit intobilke:masterfrom
eyal0:gcov_match_gcc
Open

Use gcov version that matches GNU compiler.#109
eyal0 wants to merge 1 commit intobilke:masterfrom
eyal0:gcov_match_gcc

Conversation

@eyal0
Copy link
Copy Markdown
Contributor

@eyal0 eyal0 commented Mar 29, 2026

If the GNU compiler version doesn't match the gcov version, lcov will report an error. Usually version of gcc and g++ are installed as g++-10, g++-11, etc, and gcov will be installed as gcov-10, gcov-11, etc. This code tries to match that. If it doesn't match, it falls back to the regular gcov.

If the GNU compiler version doesn't match the gcov version, lcov will
report an error.  Usually version of gcc and g++ are installed as
g++-10, g++-11, etc, and gcov will be installed as gcov-10, gcov-11,
etc.  This code tries to match that.  If it doesn't match, it falls
back to the regular gcov.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant