知道的.lib是静态的还是进口 [英] know if .lib is static or import
本文介绍了知道的.lib是静态的还是进口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的.lib
文件从C code编译。如何知道自己是否会在运行时需要这种自成一体的静态库或只是一个导入库和DLL?是否有我错过了一些 DUMPBIN
选项?
I have .lib
file compiled from C code. How I know if this self-contained static library or just an import lib and DLL will be needed at runtime? Is there some dumpbin
option I'm missing?
推荐答案
使用的lib命令。如果它是静态的,LIB会告诉你一堆里面的.obj文件。事实并非如此,如果是上午IMPLIB。
Use the lib command. If it's static, lib will show you a pile of .obj files inside. Not so if it's am implib.
lib /list foo.lib
将做到这一点。
另请参见:
<一个href=\"http://msdn.microsoft.com/en-us/library/e17b885t(v=vs.80).aspx\">http://msdn.microsoft.com/en-us/library/e17b885t(v=vs.80).aspx
这篇关于知道的.lib是静态的还是进口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文