Have a static lib, is there a simple way to know it is for 32 bit or 64 bit?

后端 未结 4 1586
一向
一向 2020-12-23 19:11

Is there any tool that can directly test if a library is made for 32 or 64 bit?

4条回答
  •  春和景丽
    2020-12-23 19:27

    Run a visual studio command prompt to ensure your path can find dumpbin.exe

    Pipe to findstr to save on the big spew about each section and optionally you can use a wildcard to analyse a folder of libs.

    dumpbin /headers *.lib | findstr machine

    Example of what you're looking for;

    8664 machine (x64)
    

提交回复
热议问题