6

我可以在 Windows 中安装 gcov 工具吗?
或者我可以在windows的eclipse中使用这个工具的插件吗?
我对这个工具很陌生。我对这个工具没有任何想法。请帮助我获取此工具的信息。
请告诉我在我的机器上运行这个工具的要求。
我在哪里可以获得有关 gcov 的更多信息,还请提供一个链接,我可以从中下载此工具。

gcov 工具是否只接受 c/c++ 文件,或者它也接受头文件(* .h)作为输入?

4

3 回答 3

2

我可以在 Windows 中安装 gcov 工具吗?

是的。我们使用 gcc 在 Windows 中构建 QNX 项目。

我在哪里可以获得有关 gcov 的更多信息,还请提供一个链接,我可以从中下载此工具。

gcov 是gcc的一部分,

gcov 工具是否只接受 c/c++ 文件,或者它也接受头文件(* .h)作为输入?

gcov 接受 cpp,h 也接受

于 2014-09-26T13:49:42.077 回答
1

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.

于 2013-02-14T01:20:49.500 回答
0

您可以使用eclipse CDT。它内置了gcov 插件

于 2017-09-15T19:34:17.803 回答