Hi,
I am using gcov to get code coverage for my program written in C\+\+, I am able to do it without any problem when i don't have a directory structure, for my program I am a directory structure as below
./src/ -- containing all my source files
./obj/ -- containing all my object files
./header/ -- containing all my header files
../../lib/ -- containing a static library, which will be used by
my program
there is a makefile in the current directory which creates my executable