diff options
author | Tanzinul Islam <tanzinul.islam@gmail.com> | 2020-12-07 00:04:45 +0100 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-04-19 11:05:54 +0200 |
commit | 5fee3fe2760d65a141873601c4b7b9fd2fc5c7b1 (patch) | |
tree | fb0832a2e24cde0f5e2dec0463225bbd06c838fa /NOTES-WINDOWS.md | |
parent | Ensure cw32mt.lib and import32.lib are linked to in no-sock mode (diff) | |
download | openssl-5fee3fe2760d65a141873601c4b7b9fd2fc5c7b1.tar.xz openssl-5fee3fe2760d65a141873601c4b7b9fd2fc5c7b1.zip |
Support DLL builds + Fix C RTL variants
We need to generate a import library without the version in the
filename. MSVC's `link.exe` accommodates this with the [`/implib:`
option][1], while C++Builder needs a separate run of [`implib.exe`][2].
Also fix the variants of the [C runtime library and startup objects][3].
[1]: https://docs.microsoft.com/en-us/cpp/build/reference/implib-name-import-library?view=msvc-160
[2]: http://docwiki.embarcadero.com/RADStudio/Sydney/en/IMPLIB.EXE,_the_Import_Library_Tool_for_Win32
[3]: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Static_Runtime_Libraries
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13540)
Diffstat (limited to 'NOTES-WINDOWS.md')
-rw-r--r-- | NOTES-WINDOWS.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/NOTES-WINDOWS.md b/NOTES-WINDOWS.md index 95682f205c..7ca8de299e 100644 --- a/NOTES-WINDOWS.md +++ b/NOTES-WINDOWS.md @@ -127,8 +127,8 @@ Native builds using Embarcadero C++Builder ========================================= This toolchain (a descendant of Turbo/Borland C++) is an alternative to MSVC. -OpenSSL currently includes an experimental 32-bit static-build configuration -targeting the Clang-based compiler (bcc32c.exe) in v10.3.3 Community Edition. +OpenSSL currently includes an experimental 32-bit configuration targeting the +Clang-based compiler (bcc32c.exe) in v10.3.3 Community Edition. <https://www.embarcadero.com/products/cbuilder/starter> 1. Install Perl. @@ -140,12 +140,14 @@ targeting the Clang-based compiler (bcc32c.exe) in v10.3.3 Community Edition. 4. make -N - 5. Build your program against this OpenSSL: + 5. make -N test + + 6. Build your program against this OpenSSL: * Set your include search path to the "include" subdirectory of OpenSSL. * Set your library search path to the OpenSSL source directory. -Note that this is very experimental. Support for 64-bit, dynamic library, and -other Configure options is still pending. +Note that this is very experimental. Support for 64-bit and other Configure +options is still pending. Native builds using MinGW ========================= |