91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
-
-
+
+
+
|
## Windows 32-bit using MSVC
* 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> Download the OpenSSL tarball and unpack under `compat/openssl`. (Note that the tarball will
unpack into `openssl-3.X.Y` - you will need to rename that to just `openssl`.)
<li> `cd` into the OpenSSL source directory, `openssl`.
<li> `C:/Strawberry/perl/bin/perl Configure VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers no-shared /D_WIN32_WINNT=0x0501`
<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>
|
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
-
-
+
+
+
|
## Windows 64-bit using MSVC
* Run all of the following from a "x64 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> Download the OpenSSL tarball and unpack under `compat/openssl`. (Note that the tarball will
unpack into `openssl-3.X.Y` - you will need to rename that to just `openssl`.)
<li> `cd` into the OpenSSL source directory, `openssl`.
<li> `C:/Strawberry/perl/bin/perl Configure VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers no-shared`
<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`
* Verify dependencies: `dumpbin /dependents fossil.exe`
* `zip fossil-w64-$VERSION.zip fossil.exe`
* `fossil uv add fossil-w64-$VERSION.zip`
* `fossil uv sync`
|