Can GCov be used in windows?

我与影子孤独终老i 提交于 2019-12-05 10:58:28

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

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.

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

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