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]

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


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