Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 RHEL 上运行 gcov/gcc 4.1.2。
当我想为 gcov 文件指定目录时。关于如何做到这一点的任何想法?
从您希望创建文件的目录运行 gcov。您必须使用-o参数告诉它在哪里查找 .gcno/.gcda 文件。有关更多信息,请参阅gcov 的文档。
-o