Fossil

Artifact [4577a0b6]
Login

Artifact 4577a0b6e2cde1bb005b4b7073f07160fbeddd41:

Wiki page [Release Build How-To] by drh 2017-03-03 14:15:53.
D 2017-03-03T14:15:53.212
L Release\sBuild\sHow-To
P b2f47e7c62b12ff1dc61c946516e67e1c6073406
U drh
W 1240
<h1>Notes on how the precompiled binaries were constructed</h1>

<h2>Linux</h2>
<ul>
<li>On the machine named "bella", cd to ~/fossil/static</li>
<li>rm -rf *</li>
<li>../m1/configure --static --disable-fusefs</li>
<li>make</li>
<li>strip fossil</li>
</ul>

<h2>OpenBSD</h2>
<ul>
<li>On the devio.us machine in the ~/fossil/m1 directory</li>
<li>fossil clean -x</li>
<li>./configure</li>
<li>make</li>
<li>strip fossil</li>
</ul>

<h2>Windows</h2>
<ul>
<li>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.</li>
<li>On the Samsung i9 (Windows8) in a MinGW shell in ~/fossil/m1</li>
<li>fossil clean -x</li>
<li>make -f win/makefile.mingw FOSSIL_ENABLE_SSL=1
OPENSSLDIR=../../openssl-1.0.0l</li>
</ul>

<h2>Mac</h2>
<ul>
<li>On the machine "imac" (MacOS 10.6.8, x64) in the ~/fossil/m1 directory</li>
<li>fossil clean -f</li>
<li>./configure</li>
<li>Edit Makefile. Change "-O2" to "-Os -m32"</li>
<li>make</li>
<li>strip fossil</li>
</ul>

<h2>Source Tarball</h2>
<ul>
<li>fossil tarball --name fossil-$VERSION version-$VERSION
fossil-src-$VERSION.tar.gz<br>
</li>
</ul>
<ul>
</ul>

Z 3816f3005c29e0bacc470c242fb0ccc2