构建 .a 文件时使用的 glibc 版本

发布于 2024-08-29 03:49:08 字数 45 浏览 2 评论 0原文

有没有办法从 .a 文件中找出构建 .a 时预期或使用的 glibc 版本?

Is there a way to find out from .a file what version of glibc is expected or was used when building the .a?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

摇划花蜜的午后 2024-09-05 03:49:08

这不是一个关于 ar 文件或 .o 文件的有意义的问题。它们记录的只是赤裸裸的符号名称。当您创建共享对象或可执行文件时,链接器会为您提供符号引用,例如用于未定义符号的 time@@GLIBC_2.2.5

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文