Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.


Artifact ID: 5c3345f5a88260aa9fc815d6c9a671d6f51a9c89c2b188da303927d4145253b3
Page Name:Release Build How-To
Date: 2018-05-04 13:40:57
Original User: drh
Parent: 54159a1fafbf8adde67fd4518a660c4a0970d0c1773c1172597506c82f92bfa5

Notes on how build and upload the precompiled binaries

Download Page

  • Run "fossil uv edit download.html" to modify the "releases" variable in the javascript to add the new release number and title and various hyperlinks.
  • Run "fossil uv sync" to propagate the changes from the previous step.


  • On the machine named "bella", cd to ~/fossil/static
  • rm -rf *
  • ../m1/configure --static --disable-fusefs
  • # Edit the Makefile to move -ldl to the end
  • make
  • strip fossil
  • tar czf fossil-linux-x64-$VERSION.tar.gz fossil


  • Log into
  • cd to /home/www/fossil/b1
  • Run the script ./
  • Logout
  • Download the file
  • tar czf fossil-linux-x64-$VERSION.tar.gz fossil


  • Use MinGW instead of MSVC for windows builds since the resulting binary has fewer kernel.dll dependencies and works with older versions of windows such as XP.
  • On the Lenovo Yoga (Windows10) in a MinGW shell in ~/fossil/m1
  • fossil clean -x
  • make -f win/makefile.mingw FOSSIL_ENABLE_SSL=1 OPENSSLDIR=../../openssl-1.0.0l
  • OR: tclsh ../mkfossil.tcl
  • zip fossil-w32-$ fossil.exe
  • Visit to submit the new binary for whitelisting. → On 2018-05-04 this link reported that the whitelisting service is no longer available.


  • On 2015 MacPro in the ~/fossil/m1 directory
  • fossil clean -f
  • ./configure
  • # Edit the Makefile to specify /usr/local/opt/openssl/lib/libcrypto.a and /usr/local/opt/openssl/lib/libssl.a in place of -lcrypto and -lssl, and to add -liconv at the end
  • make
  • # Verify dependencies using: otool -L ./fossil
  • strip fossil
  • tar czf fossil-macosx-$VERSION.tar.gz fossil

Source Tarball

  • fossil tarball --name fossil-$VERSION version-$VERSION fossil-src-$VERSION.tar.gz