如何在Linux中对共享库进行版本控制?

编程入门 行业动态 更新时间:2024-10-11 17:21:29
本文介绍了如何在Linux中对共享库进行版本控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

Windows提供了用于应用程序和DLL版本信息的资源文件.资源文件包含版本,版权和制造商等信息.

Windows provides the resource file for version information for an application and DLL. The resource file includes information like version, copyright and manufacturer.

我们有一个共享库,希望添加版本信息.我们如何在带有共享库的Linux上做到这一点?

We have an shared library and like to add version information. How can we do it on Linux with a shared library?

推荐答案

简短的版本是您通过 soso 的库.阅读 tldp/HOWTO/Program-Library中的第3章-HOWTO/shared-libraries.html 以及 http:/的第3.3章ABI版本控制/www.akkadia/drepper/dsohowto.pdf

The short version is that you do this via the soname of the library. Read chapter 3 at tldp/HOWTO/Program-Library-HOWTO/shared-libraries.html as well as chapter 3.3 ABI Versioning at www.akkadia/drepper/dsohowto.pdf

更多推荐

如何在Linux中对共享库进行版本控制?

本文发布于:2023-11-08 06:44:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1568630.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:中对   版本   如何在   Linux

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!