Reputation: 53
Is there a way to find out from .a file what version of glibc is expected or was used when building the .a?
Upvotes: 1
Views: 301
Reputation: 100133
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.
Upvotes: 1