Fossil

Artifact [b2f47e7c]
Login

Artifact b2f47e7c62b12ff1dc61c946516e67e1c6073406:

Wiki page [Release Build How-To] by drh 2015-06-11 15:34:09.
D 2015-06-11T15:34:09.502
L Release\sBuild\sHow-To
P 8d5e7fa8edb35c74474a793449689661b4a0600a
U drh
W 1442
<h1>Notes on how the precompiled binaries were constructed</h1>

<h2>Linux</h2>
<ul>
<li>On the www.fossil-scm.org server in the /home/www/fossil/b2 directory</li>
<li>fossil clean -f</li>
<li>./configure --static</li>
<li>Edit Makefile. Change "-O2" to "-Os -m32"</li>
<li>make</li>
<li>strip fossil</li>
</ul>
<p>The SSL libraries for the 64-bit Ubuntu machine above were set up using:
<ul>
<li>apt-get install openssl libssl-dev libssl-dev:i386
</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 3f9ade55be87ec13da1c9de03106ab18