Notes on how the precompiled binaries were constructed
Linux
- On the www.fossil-scm.org server in the /home/www/fossil/b2 directory
- fossil clean -f
- ./configure --static
- Edit Makefile. Change "-O2" to "-Os -m32"
- make
- strip fossil
The SSL libraries for the 64-bit Ubuntu machine above were set up using:
- apt-get install openssl libssl-dev libssl-dev:i386
OpenBSD
- On the devio.us machine in the ~/fossil/m1 directory
- fossil clean -x
- ./configure
- make
- strip fossil
Windows
- 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 Samsung i9 (Windows8) in a MinGW shell in ~/fossil/m1
- fossil clean -x
- make -f win/makefile.mingw FOSSIL_ENABLE_SSL=1 OPENSSLDIR=../../openssl-1.0.0l
Mac
- On the machine "imac" (MacOS 10.6.8, x64) in the ~/fossil/m1 directory
- fossil clean -f
- ./configure
- Edit Makefile. Change "-O2" to "-Os -m32"
- make
- strip fossil
Source Tarball
- fossil tarball --name fossil-$VERSION version-$VERSION
fossil-src-$VERSION.tar.gz