Artifact
0344248b9dea3812db5d0f9642704b9f8c56756f:
Wiki page
[Release Build How-To] by
drh
2015-03-14 13:45:21.
0000: 44 20 32 30 31 35 2d 30 33 2d 31 34 54 31 33 3a D 2015-03-14T13:
0010: 34 35 3a 32 31 2e 32 33 32 0a 4c 20 52 65 6c 65 45:21.232.L Rele
0020: 61 73 65 5c 73 42 75 69 6c 64 5c 73 48 6f 77 2d ase\sBuild\sHow-
0030: 54 6f 0a 50 20 62 64 33 34 30 39 32 61 32 66 32 To.P bd34092a2f2
0040: 30 61 33 31 39 64 31 37 39 63 38 34 62 37 31 30 0a319d179c84b710
0050: 38 35 65 39 62 61 31 31 38 66 38 66 65 0a 55 20 85e9ba118f8fe.U
0060: 64 72 68 0a 57 20 31 31 33 39 0a 3c 68 31 3e 4e drh.W 1139.<h1>N
0070: 6f 74 65 73 20 6f 6e 20 68 6f 77 20 74 68 65 20 otes on how the
0080: 70 72 65 63 6f 6d 70 69 6c 65 64 20 62 69 6e 61 precompiled bina
0090: 72 69 65 73 20 77 65 72 65 20 63 6f 6e 73 74 72 ries were constr
00a0: 75 63 74 65 64 3c 2f 68 31 3e 0a 0a 3c 68 32 3e ucted</h1>..<h2>
00b0: 4c 69 6e 75 78 3c 2f 68 32 3e 0a 3c 75 6c 3e 0a Linux</h2>.<ul>.
00c0: 3c 6c 69 3e 4f 6e 20 74 68 65 20 77 77 77 2e 66 <li>On the www.f
00d0: 6f 73 73 69 6c 2d 73 63 6d 2e 6f 72 67 20 73 65 ossil-scm.org se
00e0: 72 76 65 72 20 69 6e 20 74 68 65 20 2f 68 6f 6d rver in the /hom
00f0: 65 2f 77 77 77 2f 66 6f 73 73 69 6c 2f 62 32 20 e/www/fossil/b2
0100: 64 69 72 65 63 74 6f 72 79 3c 2f 6c 69 3e 0a 3c directory</li>.<
0110: 6c 69 3e 66 6f 73 73 69 6c 20 63 6c 65 61 6e 20 li>fossil clean
0120: 2d 66 3c 2f 6c 69 3e 0a 3c 6c 69 3e 2e 2f 63 6f -f</li>.<li>./co
0130: 6e 66 69 67 75 72 65 20 2d 2d 73 74 61 74 69 63 nfigure --static
0140: 3c 2f 6c 69 3e 0a 3c 6c 69 3e 45 64 69 74 20 4d </li>.<li>Edit M
0150: 61 6b 65 66 69 6c 65 2e 20 43 68 61 6e 67 65 20 akefile. Change
0160: 22 2d 4f 32 22 20 74 6f 20 22 2d 4f 73 20 2d 6d "-O2" to "-Os -m
0170: 33 32 22 3c 2f 6c 69 3e 0a 3c 6c 69 3e 6d 61 6b 32"</li>.<li>mak
0180: 65 3c 2f 6c 69 3e 0a 3c 6c 69 3e 73 74 72 69 70 e</li>.<li>strip
0190: 20 66 6f 73 73 69 6c 3c 2f 6c 69 3e 0a 3c 2f 75 fossil</li>.</u
01a0: 6c 3e 0a 0a 3c 68 32 3e 4f 70 65 6e 42 53 44 3c l>..<h2>OpenBSD<
01b0: 2f 68 32 3e 0a 3c 75 6c 3e 0a 3c 6c 69 3e 4f 6e /h2>.<ul>.<li>On
01c0: 20 74 68 65 20 64 65 76 69 6f 2e 75 73 20 6d 61 the devio.us ma
01d0: 63 68 69 6e 65 20 69 6e 20 74 68 65 20 7e 2f 66 chine in the ~/f
01e0: 6f 73 73 69 6c 2f 6d 31 20 64 69 72 65 63 74 6f ossil/m1 directo
01f0: 72 79 3c 2f 6c 69 3e 0a 3c 6c 69 3e 66 6f 73 73 ry</li>.<li>foss
0200: 69 6c 20 63 6c 65 61 6e 20 2d 66 3c 2f 6c 69 3e il clean -f</li>
0210: 0a 3c 6c 69 3e 2e 2f 63 6f 6e 66 69 67 75 72 65 .<li>./configure
0220: 3c 2f 6c 69 3e 0a 3c 6c 69 3e 6d 61 6b 65 3c 2f </li>.<li>make</
0230: 6c 69 3e 0a 3c 6c 69 3e 73 74 72 69 70 20 66 6f li>.<li>strip fo
0240: 73 73 69 6c 3c 2f 6c 69 3e 0a 3c 2f 75 6c 3e 0a ssil</li>.</ul>.
0250: 0a 3c 68 32 3e 57 69 6e 64 6f 77 73 3c 2f 68 32 .<h2>Windows</h2
0260: 3e 0a 3c 75 6c 3e 0a 3c 6c 69 3e 55 73 65 20 4d >.<ul>.<li>Use M
0270: 69 6e 47 57 20 69 6e 73 74 65 61 64 20 6f 66 20 inGW instead of
0280: 4d 53 56 43 20 66 6f 72 20 77 69 6e 64 6f 77 73 MSVC for windows
0290: 20 62 75 69 6c 64 73 20 73 69 6e 63 65 20 74 68 builds since th
02a0: 65 20 72 65 73 75 6c 74 69 6e 67 20 62 69 6e 61 e resulting bina
02b0: 72 79 20 68 61 73 0a 66 65 77 65 72 20 6b 65 72 ry has.fewer ker
02c0: 6e 65 6c 2e 64 6c 6c 20 64 65 70 65 6e 64 65 6e nel.dll dependen
02d0: 63 69 65 73 20 61 6e 64 20 77 6f 72 6b 73 20 77 cies and works w
02e0: 69 74 68 20 6f 6c 64 65 72 20 76 65 72 73 69 6f ith older versio
02f0: 6e 73 20 6f 66 20 77 69 6e 64 6f 77 73 20 73 75 ns of windows su
0300: 63 68 20 61 73 0a 58 50 2e 3c 2f 6c 69 3e 0a 3c ch as.XP.</li>.<
0310: 6c 69 3e 4f 6e 20 74 68 65 20 53 61 6d 73 75 6e li>On the Samsun
0320: 67 20 69 39 20 28 57 69 6e 64 6f 77 73 38 29 20 g i9 (Windows8)
0330: 69 6e 20 61 20 4d 69 6e 47 57 20 73 68 65 6c 6c in a MinGW shell
0340: 20 69 6e 20 7e 2f 66 6f 73 73 69 6c 2f 6d 31 3c in ~/fossil/m1<
0350: 2f 6c 69 3e 0a 3c 6c 69 3e 66 6f 73 73 69 6c 20 /li>.<li>fossil
0360: 63 6c 65 61 6e 20 2d 66 3c 2f 6c 69 3e 0a 3c 6c clean -f</li>.<l
0370: 69 3e 6d 61 6b 65 20 2d 66 20 77 69 6e 2f 6d 61 i>make -f win/ma
0380: 6b 65 66 69 6c 65 2e 6d 69 6e 67 77 20 46 4f 53 kefile.mingw FOS
0390: 53 49 4c 5f 45 4e 41 42 4c 45 5f 53 53 4c 3d 31 SIL_ENABLE_SSL=1
03a0: 0a 4f 50 45 4e 53 53 4c 44 49 52 3d 2e 2e 2f 2e .OPENSSLDIR=../.
03b0: 2e 2f 6f 70 65 6e 73 73 6c 2d 31 2e 30 2e 30 6c ./openssl-1.0.0l
03c0: 3c 2f 6c 69 3e 0a 3c 2f 75 6c 3e 0a 0a 3c 68 32 </li>.</ul>..<h2
03d0: 3e 4d 61 63 3c 2f 68 32 3e 0a 3c 75 6c 3e 0a 3c >Mac</h2>.<ul>.<
03e0: 6c 69 3e 4f 6e 20 74 68 65 20 6d 61 63 68 69 6e li>On the machin
03f0: 65 20 22 69 6d 61 63 22 20 28 4d 61 63 4f 53 20 e "imac" (MacOS
0400: 31 30 2e 36 2e 38 2c 20 78 36 34 29 20 69 6e 20 10.6.8, x64) in
0410: 74 68 65 20 7e 2f 66 6f 73 73 69 6c 2f 6d 31 20 the ~/fossil/m1
0420: 64 69 72 65 63 74 6f 72 79 3c 2f 6c 69 3e 0a 3c directory</li>.<
0430: 6c 69 3e 66 6f 73 73 69 6c 20 63 6c 65 61 6e 20 li>fossil clean
0440: 2d 66 3c 2f 6c 69 3e 0a 3c 6c 69 3e 2e 2f 63 6f -f</li>.<li>./co
0450: 6e 66 69 67 75 72 65 3c 2f 6c 69 3e 0a 3c 6c 69 nfigure</li>.<li
0460: 3e 45 64 69 74 20 4d 61 6b 65 66 69 6c 65 2e 20 >Edit Makefile.
0470: 43 68 61 6e 67 65 20 22 2d 4f 32 22 20 74 6f 20 Change "-O2" to
0480: 22 2d 4f 73 20 2d 6d 33 32 22 3c 2f 6c 69 3e 0a "-Os -m32"</li>.
0490: 3c 6c 69 3e 6d 61 6b 65 3c 2f 6c 69 3e 0a 3c 6c <li>make</li>.<l
04a0: 69 3e 73 74 72 69 70 20 66 6f 73 73 69 6c 3c 2f i>strip fossil</
04b0: 6c 69 3e 0a 3c 2f 75 6c 3e 0a 0a 3c 68 32 3e 53 li>.</ul>..<h2>S
04c0: 6f 75 72 63 65 20 54 61 72 62 61 6c 6c 3c 2f 68 ource Tarball</h
04d0: 32 3e 0a 3c 75 6c 3e 0a 3c 2f 75 6c 3e 0a 0a 5a 2>.<ul>.</ul>..Z
04e0: 20 63 66 38 34 64 38 64 61 33 64 35 61 62 66 30 cf84d8da3d5abf0
04f0: 36 33 31 35 30 30 31 30 61 35 33 38 61 37 66 62 63150010a538a7fb
0500: 32 0a 2.