vs 编译 openssl

  • Extract the source code to a new clean folder - failed appempts seem to leave a lot of crap

  • Download Nasm.exe if you don't already have it - http://www.nasm.us/. Just put it in C:\Windows\System32 (or in your path)

  • Start the VS2017 X86 Command prompt - and run the following:

    "c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
    perl Configure VC-WIN32 --prefix=C:\Build-OpenSSL-VC-32
    ms\do_nasm.bat
    nmake -f ms\nt.mak
    nmake -f ms\nt.mak install

要注意的一点就是编译x86的需要下载安装Nasm

上一篇:NASM汇编学习系列(1)——系统调用和参数传递


下一篇:linux nasm命令行参数为整数