User Tools

Site Tools


c:build:build-openssl-statically-on-windows-vs2017

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
c:build:build-openssl-statically-on-windows-vs2017 [2020/06/29 23:28] – [Win 32 static debug build] odeftac:build:build-openssl-statically-on-windows-vs2017 [2020/07/01 01:14] odefta
Line 16: Line 16:
 ===== Win 32 static debug build ===== ===== Win 32 static debug build =====
  
-perl Configure debug-VC-WIN32 --prefix=D:\OpenSSL\out --openssldir=D:\OpenSSL\out\SSL +<code> 
 +perl Configure debug-VC-WIN32 no-shared --debug zlib enable-zlib --with-zlib-include=D:/zlib --with-zlib-lib=D:/zlib/zlib.lib --prefix=D:\OpenSSL\out --openssldir=D:\OpenSSL\out\SSL 
 +</code>
 <code> <code>
 Configuring OpenSSL version 1.1.1g (0x1010107fL) for debug-VC-WIN32 Configuring OpenSSL version 1.1.1g (0x1010107fL) for debug-VC-WIN32
Line 80: Line 81:
 </code> </code>
  
 +nmake install
 +
 +<code>
 +Microsoft (R) Program Maintenance Utility Version 14.16.27034.0
 +Copyright (C) Microsoft Corporation.  All rights reserved.
 +
 +        "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\nmake.exe" /                   depend && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\nmake.exe" /                   _build_libs
 +
 +Microsoft (R) Program Maintenance Utility Version 14.16.27034.0
 +Copyright (C) Microsoft Corporation.  All rights reserved.
 +
 +
 +Microsoft (R) Program Maintenance Utility Version 14.16.27034.0
 +Copyright (C) Microsoft Corporation.  All rights reserved.
 +
 +*** Installing runtime libraries
 +*** Installing development files
 +Copying: ./include/openssl/aes.h to D:/OpenSSL/out/include/openssl/aes.h
 +Copying: ./include/openssl/asn1.h to D:/OpenSSL/out/include/openssl/asn1.h
 +Copying: ./include/openssl/asn1_mac.h to D:/OpenSSL/out/include/openssl/asn1_mac.h
 +Copying: ./include/openssl/asn1err.h to D:/OpenSSL/out/include/openssl/asn1err.h
 +...
 +D:\OpenSSL\out\html\man7\ossl_store.html
 +D:\OpenSSL\out\html\man7\passphrase-encoding.html
 +D:\OpenSSL\out\html\man7\proxy-certificates.html
 +D:\OpenSSL\out\html\man7\RAND.html
 +D:\OpenSSL\out\html\man7\RAND_DRBG.html
 +D:\OpenSSL\out\html\man7\RSA-PSS.html
 +D:\OpenSSL\out\html\man7\scrypt.html
 +D:\OpenSSL\out\html\man7\SM2.html
 +D:\OpenSSL\out\html\man7\ssl.html
 +D:\OpenSSL\out\html\man7\X25519.html
 +D:\OpenSSL\out\html\man7\X448.html -> D:\OpenSSL\out\html\man7\X25519.html
 +D:\OpenSSL\out\html\man7\x509.html
 +</code>
 +
 +Output library files (D:\OpenSSL\out\lib):
 +
 +{{:c:build:pasted:20200629-235101.png}} \\
 +
 +===== Win 32 static release build =====
 +
 +nmake clean
 +<code>
 +perl Configure VC-WIN32 no-shared zlib enable-zlib --with-zlib-include=D:/zlib --with-zlib-lib=D:/zlib/zlib.lib LDFLAGS=/NODEFAULTLIB:msvcrt.lib --prefix=D:\OpenSSL\out --openssldir=D:\OpenSSL\out\SSL
 +</code>
 +nmake \\
 +nmake install
  
    
c/build/build-openssl-statically-on-windows-vs2017.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1