什么是二进制库?如何生成与库的统计链接二进制文件?库和二进制文件有什么区别?
发布于 2009-11-07 09:54:42
。
- **static library**, also known as an archive, consists of a set of routines which are copied into a target application by the compiler, linker, or binder, producing object files and a stand-alone executable file. This process, and the stand-alone executable file, are known as a static build of the target application. Actual addresses for jumps and other routine calls are stored in a relative or symbolic form which cannot be resolved until all code and libraries are assigned final static addresses.
- In addition to identifying static and dynamic loading, computer scientists also often classify libraries according to how they are shared among programs. **Dynamic libraries** almost always offer some form of sharing, allowing the same library to be used by multiple programs at the same time. Static libraries, by definition, cannot be shared. The term "linker" comes from the process of copying procedures or subroutines which may come from "relocatable" libraries and adjusting or "linking" the machine address to the final locations of each module.
网络上已经做了各种各样的定义。只需根据您使用的语言搜索一些定义即可。
https://stackoverflow.com/questions/1692358
复制相似问题