What Cygwin package(s) do I need to install to get lcov to work on Cygwin?

I tried to run lcov and received the following: command not found

Thank you for any help.

P.S. I should point out that gcov does work.

有帮助吗?

解决方案

Cygwin doesn't have a port of lcov, sadly. To get one, you'll need to rebuild it from source yourself.

If you do get it working, I'm pretty sure the rest of the Cygwin community would love to have it; there's instructions on submitting Cygwin ports on the Package Contributor's Guide.

其他提示

Cygwin doesn't need a port of lcov because it can be trivially built from source.

lcov is a set of perl scripts so once you have perl installed, you can download the source and build lcov directly.

Download tarball, extract to a folder, then:

make install
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top