如何对共享库进行版本控制? [英] How to do versioning of shared library?

查看:67
本文介绍了如何对共享库进行版本控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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.

我们有一个共享库,想添加版本信息.

We have a shared library and would like to add version information.

我们如何在带有共享库的Linux上做到这一点?

How can we do it on Linux with a shared library?

推荐答案

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

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

这篇关于如何对共享库进行版本控制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆