User forums > General (but related to Code::Blocks)

Gcov

(1/1)

SvckG:
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: ---C:\Users\XXX\Documents\Test\TreeObjModel\src>gcc -fprofile-arcs -ftest-coverage Tree.cpp -I../include<library files>
--- End code ---
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

stahta01:
I suggest read this site rule and the CB FAQs.
http://forums.codeblocks.org/index.php/topic,9996.0.html

Navigation

[0] Message Index

Go to full version