This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Error in Gcov for ARM
- From: Harry Trinta <harrytpc at gmail dot com>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 20 Sep 2011 02:13:43 -0300
- Subject: Error in Gcov for ARM
Dear,
I am having a problem when compiling a program with options
-ftest-coverage and -fprofile-arcs to run on an embedded system with
ARM processor.
I'm using a GCC cross-compiler (arm-elf) to compile the program.
The errors is as follows:
- undefined reference to `__gcov_merge_add'
- undefined reference to `__gcov_init'
is there any restriction on the use of these parameters for this type
of processor?
Thanks