D 2015-03-14T13:46:20.336
L Release\sBuild\sHow-To
P 0344248b9dea3812db5d0f9642704b9f8c56756f
U drh
W 1246
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
OpenBSD
- On the devio.us machine in the ~/fossil/m1 directory
- fossil clean -f
- ./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 -f
- 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
Z 84c2bc973b8c9dc65fbc10aaf67740db