Getting lcov to work with Cygwin

What Cygwin packages do I need to install in order to get lcov to work on Cygwin?

I tried running lcov and got the following: command not found

Thanks for any help.

PS I have to point out that gcov really works.

+5
source share
2 answers

Unfortunately, Cygwin does not have a lcov port. To get one, you will need to rebuild it from the source code.

If you make money, I'm sure the rest of the Cygwin community would like to have this; There are instructions for sending Cygwin ports to the Package Contributor Guide .

+3
source

Cygwin does not need the lcov port because it can be trivially compiled from source code.

lcov is a set of perl scripts, so after installing perl you can download the source code and build lcov directly.

Download tarball , unzip it to a folder, then:

make install 
+6
source

Source: https://habr.com/ru/post/1415464/


All Articles