Author Topic: Gcov  (Read 1387 times)

SvckG

  • Guest
Gcov
« on: July 09, 2015, 04:14:02 am »
Hi everyone,
I am new to Code::Blocks. I am writing an API in C++ (OS : Windows 7). When I build my program in CB, it runs smoothly. However, when I am invoking gcov from cmd using the following command:
Code: [Select]
C:\Users\XXX\Documents\Test\TreeObjModel\src>gcc -fprofile-arcs -ftest-coverage Tree.cpp -I../include<library files>it gives quite a large number of errors.

I am not sure if I am doing this right or missing some trick.

Can anyone suggest what is going wrong? Thanks in advance

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6667
    • My Best Post
Re: Gcov
« Reply #1 on: July 09, 2015, 05:56:58 am »
I suggest read this site rule and the CB FAQs.
http://forums.codeblocks.org/index.php/topic,9996.0.html
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org