Skip to content
Fossil Changes To Release Build How-To
Login

Changes To Release Build How-To

Changes to "Release Build How-To" between 2025-02-20 20:40:35 and 2025-03-01 01:34:20

︙
107
108
109
110
111
112
113


114
115



116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137


138
139



140
141
142
143
144
145
107
108
109
110
111
112
113
114
115


116
117
118



119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139


140
141
142



143
144
145







+
+
-
-
+
+
+
-
-
-



















+
+
-
-
+
+
+
-
-
-



     <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.
  *  `build32.bat` <br> &uarr; which does the following:
      <ul>
  *  `nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 FOSSIL_ENABLE_WINXP=1 OPTIMIZATIONS=4 clean fossil.exe`
     <ul><li>
      <li> `nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 FOSSIL_ENABLE_WINXP=1 OPTIMIZATIONS=4 clean fossil.exe`
      <li> `dumpbin /dependents fossil.exe` &larr; check output to very no unexpected dependencies
      </ul>
     The previous step builds the stand-alone Fossil binary.  If that is all you want to accomplish, you can
     stop here.  The remaining steps describe how the stand-alone Fossil binary is published.</ul>
  *  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"
  *  Build the in-tree OpenSSL library:
     <ul>
     <li> Install Strawberry-Perl (or similar) if it is not already installed.  Perl is needed to run the
          OpenSSL configuration script prior to building OpenSSL from sources.  Fossil itself does not use Perl.
     <li> Download the OpenSSL tarball and unpack under `compat/openssl`.  Note that the OpenSSL tarball will
          unpack into `openssl-3.X.Y`.  You will need to rename that folder 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.
  *  `build64.bat` <br>&uarr; which does the following:
      <ul>
  *  `nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 OPTIMIZATIONS=4 clean fossil.exe`
     <ul><li>
      <li> `nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 OPTIMIZATIONS=4 clean fossil.exe`
      <li> `dumpbin /dependents fossil.exe` &larr; check output to verify no unexpected dependencies.
      </ul>
     The previous step builds the stand-alone Fossil binary.  If that is all you want to accomplish, you can
     stop here.  The remaining steps describe how the stand-alone Fossil binary is published.</ul>
  *  Verify dependencies: `dumpbin /dependents fossil.exe`
  *  `zip fossil-w64-$VERSION.zip fossil.exe`
  *  `fossil uv add fossil-w64-$VERSION.zip`
  *  `fossil uv sync`