This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
arm-elf-gcc with gcov option do not work
- From: Franz Kaufleitner <Franz dot Kaufleitner at br-automation dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 15 Feb 2006 17:43:24 +0100
- Subject: arm-elf-gcc with gcov option do not work
Hi all,
We're trying to use GCOV together with the ARM-ELF development
environment.
Our installation is:
arm-elf-gcc: 3.4.3
arm-elf-ld: 2.15
arm-elf-ar, binutils: 2.15
(1) First we've compiled with the following standard gcc command line
gcc -fprofile-arcs ?ftest-coverage ?o sample sample.c
Running the image will create the expected gcov data file sample.da.
(2) After them, we've tried it with the arm-elf-gcc
arm-elf-gcc -fprofile-arcs ?ftest-coverage ?o sample sample.c
Running the image in the arm emulation arm-elf-run, no gcov data
file sample.gda has been created.
(3) Next, we've tried to manipulate the gcov internals by putting a
debugging printf to the fuctions gcov_init and gcov_flush, but
it seems, that the code of these functions isn't entered.
What do we do wrong ?
thanks you,
Franz Kaufleitner