静态库,动态库文件,DLL入口点,报头......如何摆脱这种活着的? [英] Static libraries, dynamic libraries, DLLs, entry points, headers ... how to get out of this alive?
问题描述
我最近不得不为大学工程规划Windows下的C ++和我pretty困惑的静态和动态库系统,什么编译器的需求,有什么需要的连接器,如何建立一个库...有没有关于这一点,有什么好看的文件?我是pretty困惑的* nix的图书馆系统以及(所以,dylibs的AR工具,如何编译它们......),你可以点一下在各种架构的当前库技术的审查文件?
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.
感谢您
随意添加更多的参考,我将它们添加到总结。
参考
由于大多数的你贴的* nix或Windows具体提及我将在这里总结了最好的,我会标记为接受的答案维基百科的一个,因为是一个很好的起点(并且引用里面太)得到介绍给这个的东西。
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.
程序库HOWTO (UNIX)
动态链接库(从MSDN)(视窗)
DLL信息(计算器)(视窗)
用C编程(UNIX)
编制的概述和链接(视窗)
推荐答案
开始与维基百科 - 大量的信息出现,以及大量的链接到其他有用的资源
Start with Wikipedia - plenty of information there, and lots of links to other useful resources.
P.S。但也许它会更好,只是问你目前遇到的问题的一个具体问题。学习如何解决它可能会走很长的路教你的一般概念。
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屋!