This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]