Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can GCov be used in windows?

Tags:

gcov

Can I install gcov tool in windows?
Or can I take plug-in of this tool in eclipse in windows?
I am very new to this tool. I don't have any idea about this tool. Please help me to get the information of this tool.
please tell me the requirements to run this tool on my machine.
Where can I get more information about gcov and also please provide a link from where I can download this tool.

Does gcov tool accepts only c/c++ files or it also takes header files(*.h) as input?

like image 754
Coding Master Avatar asked Dec 05 '12 07:12

Coding Master


2 Answers

Can I install gcov tool in windows?

Yes. We use gcc to build QNX projects in Windows.

Where can I get more information about gcov and also pls provide a link from where I can download this tool.

gcov is a part gcc,

Does gcov tool accepts only c/c++ files or it also takes header files(*.h) as input?

gcov accepts cpp, and h too

like image 177
valbok Avatar answered Sep 28 '22 02:09

valbok


gcov is part of the gcc tools. If you are building and linking with gcc on Windows (which is fairly unusual), you could use it. Since it is part of the compiler, you cannot add it as a plugin to your IDE, though there are probably plugins that allow you to interact with the data that it produces.

It sounds to me like you need to figure out what you are trying to do. gperftools or valgrind might be better suited to your needs.

like image 30
dbn Avatar answered Sep 28 '22 00:09

dbn