gcov : cannot open source file

1,547 views
Skip to first unread message

abhijit

unread,
Feb 14, 2006, 12:25:46 AM2/14/06
to linuxtalks
Hi
I am trying unit test coverage using gcov-3.4 . I am using gcc-3.4
version.

If I am having the source file( .c file) and output file ( .out ) file
in same directory then i am getting the appropriate graphs and results.

Problem: When i am putting my source file and output file in different
directories then its giving an error message "cannot open source file"
. The .c.gov file is not having the content of source file .

If anybody has the solution , please mail me.

sincerely
abhijit

iskender atasoy

unread,
Feb 14, 2006, 6:42:14 AM2/14/06
to linux...@googlegroups.com
if u compile the projects u do not need ur C codes.U should make a options for graphics file to locate to tjem like use
 
like that if i am not wrong..
 
int
main(int argc, char *argv[])
{
  int i;

  for(i = 0; i < argc; i++)
    printf("argv[%d] == %s\n", i, argv[i]);

  return 0;
}
i think that u should looks sources be carrefuly.
 
Time İs Near..

abhijit <rush2a...@gmail.com> wrote:
iskender atasoy
Bilgisayar Mühendisi-Computer Engineer
0535 970 13 55

iskende...@hotmail.com
iskende...@yahoo.co.uk
 
iskende...@gmail.com

Web Page : Time is Near..


Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail

Reply all
Reply to author
Forward
0 new messages