72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
-
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
|
## Source Tarball
* `fossil tarball --name fossil-$VERSION version-$VERSION fossil-src-$VERSION.tar.gz`
* `fossil uv add fossil-src-$VERSION.tar.gz`
* `fossil uv sync`
## Windows 32-bit using MINGW
## Windows 32-bit using MSVC
* On the Windows 10 laptop in a MinGW shell in ~/fossil/m1
* `fossil clean`
* `make -f win/makefile.mingw FOSSIL_ENABLE_SSL=1 OPENSSLDIR=../../openssl-1.0.1t`
* 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`
<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`
* **OR:** `tclsh ../mkfossil.tcl`
* 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
* 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
|