将共享库转换为静态库

发布于 2024-10-08 01:35:56 字数 108 浏览 0 评论 0原文

如何将共享库转换为静态库? 我正在尝试静态构建 valgrind,这需要将共享对象转换为静态库。 valgrind 的正常构建过程会创建很少的共享库。有什么方法可以将这些共享库(.so)转换为静态库吗?

How can I convert a shared library to static library?
I'm trying to statically build valgrind, which requires the conversion of shared objects into static libraries. Normal build procedure of valgrind creates few shared libraries. Is there any way to convert these shared libraries(.so) to static library?

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

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

发布评论

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

评论(1

楠木可依 2024-10-15 01:35:56

我认为您能够做到这一点是可行的。但由于您只能构建静态库而不是共享库,因此我不认为您会找到可以转换的工具。

I suppose it's feasible that you might be able to do this. But since you can just build a static library rather than a shared library, I don't imagine you will find a tool to convert.

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