Guy,

I have been trying to get libgcov working.
Will you please give me some guidance with a working example?
I could really use some good old fashion hand holding to gcov to work in a
standalone environment.




I have tried the following
1. invoke __gcov_dump()
     but then i get this error libgcov profiling error:<master>:Version
mismatch - expected 10.3 (experimental) (B03r) got (unknown) (ð)
     this is a know bug. There is no actual mismatch

2.
https://gcc.gnu.org/onlinedocs/gcc/gcov/profiling-and-test-coverage-in-freestanding-environments.html
This only work with the two file included.   When introduced into .cpp and
more file then compiler give
undefined  __gcov_filename_to_gcfn (f, dump, arg);

3. Tried different versions

        #"C:/Program Files (x86)/GNU Tools ARM Embedded/5.3
2016q1/lib/gcc/arm-none-eabi/5.3.1/thumb/libgcov.a"
        #"C:/Program Files (x86)/GNU Tools ARM Embedded/6.2
2016q4/lib/gcc/arm-none-eabi/6.2.1/thumb/v7e-m/fpv4-sp/hard/libgcov.a"
        #"C:/Program Files (x86)/GNU Arm Embedded Toolchain/10
2021.10/lib/gcc/arm-none-eabi/10.3.1/libgcov.a"
        #"C:/Program Files (x86)/GNU Arm Embedded Toolchain/10
2021.10/lib/gcc/arm-none-eabi/10.3.1/thumb/v7e-m+fp/softfp/libgcov.a"
        "C:/Program Files (x86)/GNU Arm Embedded Toolchain/10
2021.10/lib/gcc/arm-none-eabi/10.3.1/thumb/v7e-m+fp/hard/libgcov.a"

        #"C:/Program Files (x86)/GNU Arm Embedded Toolchain/10
2021.10/lib/gcc/arm-none-eabi/10.3.1/thumb/v6-m/nofp/libgcov.a"

Will someone please contact me?

Chris Campbell
-- 
A life well lived is its own reward

Reply via email to