Assume that you have a static library built with gcc by another person and you want to find out the version number of gcc that was used for compiling. Is there an easy way to extract this information from the library file?
I already tried out readelf, but all the switches I've used so far did not lead to a gcc version number.