Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法从 .a 文件中找出预期或在构建 .a 时使用的 glibc 版本?
这不是关于 ar 文件或 .o 文件的有意义的问题。他们记录的只是赤裸裸的符号名称。当您创建共享对象或可执行文件时,链接器会为您提供符号引用,例如time@@GLIBC_2.2.5未定义符号。
time@@GLIBC_2.2.5