build openssl - win32, win64...

Post Reply
voyzer
Site Admin
Posts: 36
Joined: 2022 Jul 06 16:57

build openssl - win32, win64...

Post by voyzer »

1. install perl for windows

2. install nasm

3. set nasm-path and perl-path %PATH%

4. enable VC dev environment.

4.1. set cmd as utf8 <= chcp 65001
D:\programs\VisualStudio11\VC>vcvarsall.bat --help
Error in script usage. The correct usage is:
vcvarsall.bat [option]
where [option] is: x86 | amd64 | arm | x86_amd64 | x86_arm

For example:
vcvarsall.bat x86_amd64

D:\programs\VisualStudio11\VC>vcvarsall.bat x86


D:\metatools\nasm


5. Configure

perl Configure enable-fips shared VC-WIN32 --prefix=D:\metatools\openssl_w32

perl Configure enable-fips shared VC-WIN64A --prefix=D:\metatools\openssl_x64

perl Configure enable-fips shared VC-WIN64-ARM --prefix=D:\metatools\openssl_x64arm

perl Configure enable-fips shared --prefix=D:\metatools\openssl <= figure out the current platform.

6. nmake, nmake test, nmake install
Post Reply