静态库,动态库,DLL,入口点,标题...如何摆脱这个活着? [英] Static libraries, dynamic libraries, DLLs, entry points, headers ... how to get out of this alive?
问题描述
注意:由于我的知识不足,此消息可能包含错误的概念,随时可以对其进行修改。
谢谢
随意添加更多参考资料,我将其添加到摘要。
参考
由于大多数人发布了* nix或Windows特定的引用将在这里总结最好的,我将标记为接受答案维基百科,因为是一个好的起点(并有参考内容)来介绍这个东西。
程序库Howto (Unix)
动态链接库(来自MSDN) (Windows)
DLL信息(StackOverflow)(Wi ndows)
编程C (Unix)
An编译和链接概述(Windows)
PS但也许最好只是问一个关于你目前遇到的问题的具体问题。学习如何解决这个问题可能需要很长时间才能教你一般概念。
I recently had to program C++ under Windows for an University project, and I'm pretty confused about static and dynamic libraries system, what the compiler needs, what the linker needs, how to build a library ... is there any good document about this out there? I'm pretty confused about the *nix library system as well (so, dylibs, the ar tool, how to compile them ...), can you point a review document about the current library techniques on the various architectures?
Note: due to my poor knowledge this message could contain wrong concepts, feel free to edit it.
Thank you
Feel free to add more reference, I will add them to the summary.
References
Since most of you posted *nix or Windows specific references I will summarize here the best ones, I will mark as accepted answer the Wikipedia one, because is a good start point (and has references inside too) to get introduced to this stuff.
Program Library Howto (Unix)
Dynamic-Link Libraries (from MSDN) (Windows)
DLL Information (StackOverflow) (Windows)
Programming in C (Unix)
An Overview of Compiling and Linking (Windows)
Start with Wikipedia - plenty of information there, and lots of links to other useful resources.
P.S. But perhaps it would be better to just ask a specific question about the problem you're currently having. Learning how to solve it may go a long way to teaching you the general concepts.
这篇关于静态库,动态库,DLL,入口点,标题...如何摆脱这个活着?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!