Is there a way to find out from .a file what version of glibc is expected or was used when building the .a?
A:
It's not a meaningful question about an ar file or a .o file. All they record is naked symbol names. When you make a shared object or an executable, the linker gives you symbols references like time@@GLIBC_2.2.5
for the undefined symbols.
bmargulies
2010-04-20 01:15:26