Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting lcov to work on Cygwin

Tags:

cygwin

lcov

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.

like image 534
JustADude Avatar asked May 31 '12 21:05

JustADude


2 Answers

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
like image 55
iheanyi Avatar answered Nov 15 '22 01:11

iheanyi


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.

like image 28
me_and Avatar answered Nov 15 '22 00:11

me_and