开发者

gcov creates .gcov files in the current directory. Is there any way to change this?

开发者 https://www.devze.com 2022-12-11 16:29 出处:网络
I\'m running gcov/gcc 4.1.2 on R开发者_C百科HEL. When I want to specify a directory for the gcov files. Any ideas on how to do this?Run gcov from the directory where you want its files to be created

I'm running gcov/gcc 4.1.2 on R开发者_C百科HEL.

When I want to specify a directory for the gcov files. Any ideas on how to do this?


Run gcov from the directory where you want its files to be created. You'll have to use the -o argument to tell it where to look for the .gcno/.gcda files. See gcov's docs for more info.

0

精彩评论

暂无评论...
验证码 换一张
取 消