Fossil

Artifact [bd34092a]
Login

Artifact bd34092a2f20a319d179c84b71085e9ba118f8fe:

Wiki page [Release Build How-To] by drh 2015-02-23 17:04:26.
D 2015-02-23T17:04:26.748
L Release\sBuild\sHow-To
P c434509060c720385388d7a028d05c80081fd69a
U drh
W 1334
<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>

<h2>OpenBSD</h2>
<ul>
<li>On the devio.us machine in the ~/fossil/m1 directory</li>
<li>fossil clean -f</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 -f</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>mkdir fossil-src-$VERSION</li>
<li>cd fossil-src-$VERSION</li>
<li>fossil open $REPO</li>
<li>rm .fslckout</li>
<li>cd ..</li>
<li>tar czf fossil-src-$VERSION.tar.gz fossil-src-$VERSION</li>
</ul>

Z 81491fe974a781fe595bd23ca9a635c3