阅读背景:

C/ c++:静态链接库和对象文件的区别是什么?

来源:互联网 

I understand that code included in an executable at compile-time can come from object files (.o files) and statically-linked libraries (.lib/.a files). What is fundamentally and conceptually the difference between these two? Why is there a different concept between "object code" and a "statically-linked library"? What are the advantages and disadvantages to each, and why use one as opposed to the other? Can statically-linked library(ies) be made from object file(s), and vise-versa, can object file(s) be made from statically-linked library(ies)?I understand that code included in an executabl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: