user287468
user287468

Reputation: 53

glibc version used while building .a file

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

Answers (1)

bmargulies
bmargulies

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

Related Questions