3

I'm running gcov/gcc 4.1.2 on RHEL.

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

Nathan Fellman
  • 122,701
  • 101
  • 260
  • 319
Chip
  • 3,226
  • 23
  • 31

1 Answers1

4

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.

jamessan
  • 41,569
  • 8
  • 85
  • 85