D 2015-05-23T11:36:54.704
L Release\sBuild\sHow-To
P 527bc296a0ef0a295e8d78819d6dfe59ed210a7e
U drh
W 1296
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 -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
Z 4c9ee4fffd93787880a465c4052383f7