Skip to content

Windows和Linux下的动态链接库的编译、链接和引用相关问题 | blueyi's notes #4

@blueyi

Description

@blueyi

http://notes.maxwi.com/2017/12/01/dll-lib-export-for-windows/

关于动态链接库和静态链接库的区别可以参考另一篇笔记,其实也就一句话:静态链接库在编译期加载到相应的编译目标中(编译后不再需要),而动态链接库是在运行期由执行目标进行调用(每次运行都需要)。Windows下动态链接库以后缀.dll标识,Linux下的动态链接库命名为libxxx.so,其中xxx为库名称。

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions