How can I tell if a library was compiled with -g?
The suggested command objdump –debugging libinspected.a objdump –debugging libinspected.so gives me always the same result at least on Ubuntu/Linaro 4.5.2: libinspected.a: file format elf64-x86-64 libinspected.so: file format elf64-x86-64 no matter whether the archive/shared library was built with or without -g option What really helped me to determine whether -g was used is readelf tool: readelf … Read more