The MacOS gcc compiler appears to be missing the proper linker libraries to enable gconf for the purposes of profiling ARM embedded code on MacOS.
I am following these instructions:
ftp.gnu.org/.../gprof_2.html
I have enabled the -pg flag on the compile (makefile CFLAGS), as well as the linker (ld, LDFLAGS), but I am now progressing to a step that appears to be compiler specific.
The version of the compiler and toolchain is gcc-arm-none-eabi-7-2017-q4-major, I am looking for the "libc_p.a" file which should then allow me to enable gconf profiling. Is this provided in newer version of the compiler ? Does this mean no one has ever profiled target ARM code from a Mac ??
/Users/bryanteadon/bin/gcc-arm-none-eabi-7-2017-q4-major/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: cannot find -lc_pcollect2: error: ld returned 1 exit statusmake: *** [_build/experimental_product_x.out] Error 1