JustADude
JustADude

Reputation: 2709

Getting lcov to work on Cygwin

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.

Upvotes: 6

Views: 5191

Answers (2)

iheanyi
iheanyi

Reputation: 3113

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

Upvotes: 9

me_and
me_and

Reputation: 15664

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.

Upvotes: 4

Related Questions