I am wondering if there is a way to find out which g++ compiler/linker flags where used in creating a binary-only library.
g++
For example there might be a 3rd
I don't believe so as there does not appear to be a section in the ELF format for that information. On Linux, if you use 'readelf -a' to dump all the information, there's nothing about how the file got that way.