79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
-
-
-
+
+
+
+
+
-
+
|
* Run all of the following from a "x32 Native Tools Command Prompt"
* Set up in-tree OpenSSL:
<ul>
<li> Install Strawberry-Perl if it is not already installed
<li> Download the OpenSSL tarball and unpack under `compat/`
<li> `cd` into the OpenSSL source directory
<li> `C:/Strawberry/perl/bin/perl Configure VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers no-shared /D_WIN32_WINNT=0x501`
← Note especially the _WIN32_WINT definition at the end, which enables compatibility with
legacy Windows systems.
<li> `C:/Strawberry/perl/bin/perl Configure VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers no-shared /D_WIN32_WINNT=0x501`
<ul><li>
The _WIN32_WINT definition on the `perl Configure` command, and the FOSSIL_ENABLE_WINXP=1 term on
the second `nmake` command below, are necessary in order for this build to work on older
WindowsXP machines. See [forum thread 66f106195aaf289e](forum:/forumpost/66f106195aaf289e).</ul>
<li> `nmake /f makefile`
</ul>
* `cd` into the `win/` subfolder of the Fossil source tree.
* `nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 OPTIMIZATIONS=4 clean fossil.exe`
* `nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 FOSSIL_ENABLE_WINXP=1 OPTIMIZATIONS=4 clean fossil.exe`
* Verify dependencies: `dumpbin /dependents fossil.exe`
* `zip fossil-w32-$VERSION.zip fossil.exe`
* `fossil uv add fossil-w32-$VERSION.zip`
* `fossil uv sync`
## Windows 64-bit using MSVC
|