Can GCov be used in windows?

核能气质少年 提交于 2019-12-10 05:21:11

问题


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?


回答1:


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




回答2:


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.




回答3:


You can use eclipse CDT. It has built in gcov plugin.



来源:https://stackoverflow.com/questions/13717920/can-gcov-be-used-in-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!