美文网首页
How to tell if a lib was compile

How to tell if a lib was compile

作者: XBruce | 来源:发表于2020-12-08 15:37 被阅读0次

    可以使用 dumpbin工具的 参数:/DIRECTIVES ,使用方法如下:

    dumpbin /directives foo.lib
    

    Look for instances of the runtime libraries specified here.

    /DEFAULTLIB:MSVCRTD (module compiled with /MDd)
    /DEFAULTLIB:MSVCRT (module compiled with /MD)
    /DEFAULTLIB:LIBCMT (module compiled with /MT)

    There will probably be many /DEFAULTLIB directives, so you can search using terms like:

    dumpbin /DIRECTIVES foo.lib | find /i "msvcr"
    

    相关文章

      网友评论

          本文标题:How to tell if a lib was compile

          本文链接:https://www.haomeiwen.com/subject/qvtqgktx.html