Artifact
3d3239a98a6f1c6e169d64f0706fc18be5147fae:
Wiki page
[
compillingOnWindows] by
renez
2010-08-28 11:04:09.
0000: 44 20 32 30 31 30 2d 30 38 2d 32 38 54 31 31 3a D 2010-08-28T11:
0010: 30 34 3a 30 39 0a 4c 20 63 6f 6d 70 69 6c 6c 69 04:09.L compilli
0020: 6e 67 4f 6e 57 69 6e 64 6f 77 73 0a 50 20 34 63 ngOnWindows.P 4c
0030: 35 36 63 33 61 63 30 65 62 32 39 35 30 63 63 61 56c3ac0eb2950cca
0040: 37 63 32 34 34 34 63 37 62 65 33 63 61 31 36 38 7c2444c7be3ca168
0050: 32 35 36 65 31 38 0a 55 20 72 65 6e 65 7a 0a 57 256e18.U renez.W
0060: 20 33 39 35 35 0a 0d 0a 3c 68 33 3e 43 6f 6d 70 3955...<h3>Comp
0070: 69 6c 69 6e 67 20 75 6e 64 65 72 20 77 69 6e 64 iling under wind
0080: 6f 77 73 20 77 69 74 68 20 4d 69 6e 67 77 3c 2f ows with Mingw</
0090: 68 33 3e 0d 0a 3c 68 34 3e 49 6e 73 74 61 6c 6c h3>..<h4>Install
00a0: 69 6e 67 20 74 68 65 20 74 6f 6f 6c 73 2e 3c 2f ing the tools.</
00b0: 68 34 3e 0d 0a 20 20 2a 20 20 64 6f 77 6e 6c 6f h4>.. * downlo
00c0: 61 64 20 5b 68 74 74 70 3a 2f 2f 73 6f 75 72 63 ad [http://sourc
00d0: 65 66 6f 72 67 65 2e 6e 65 74 2f 70 72 6f 6a 65 eforge.net/proje
00e0: 63 74 73 2f 6d 69 6e 67 77 2f 66 69 6c 65 73 2f cts/mingw/files/
00f0: 7c 6d 69 6e 67 77 2d 78 78 2e 65 78 65 5d 20 76 |mingw-xx.exe] v
0100: 65 72 73 69 6f 6e 20 35 2e 31 2e 36 20 6f 72 20 ersion 5.1.6 or
0110: 6c 61 74 65 72 2e 20 49 6e 73 74 61 6c 6c 20 69 later. Install i
0120: 74 2e 20 49 20 61 73 73 75 6d 65 20 69 74 20 77 t. I assume it w
0130: 69 6c 6c 20 62 65 20 69 6e 73 74 61 6c 6c 65 64 ill be installed
0140: 20 69 6e 20 3c 73 74 72 6f 6e 67 3e 63 3a 5c 4d in <strong>c:\M
0150: 69 6e 67 57 3c 2f 73 74 72 6f 6e 67 3e 0d 0a 20 ingW</strong>..
0160: 20 2a 20 20 64 6f 77 6e 6c 6f 61 64 20 5b 68 74 * download [ht
0170: 74 70 3a 2f 2f 73 6f 75 72 63 65 66 6f 72 67 65 tp://sourceforge
0180: 2e 6e 65 74 2f 70 72 6f 6a 65 63 74 73 2f 6d 69 .net/projects/mi
0190: 6e 67 77 2f 66 69 6c 65 73 2f 7c 6d 73 79 73 2d ngw/files/|msys-
01a0: 78 78 2e 65 78 65 5d 20 76 65 72 73 69 6f 6e 20 xx.exe] version
01b0: 31 2e 30 2e 31 30 20 6f 72 20 6c 61 74 65 72 2e 1.0.10 or later.
01c0: 20 49 6e 73 74 61 6c 6c 20 69 74 2e 20 49 20 61 Install it. I a
01d0: 73 73 75 6d 65 20 69 74 20 77 69 6c 6c 20 62 65 ssume it will be
01e0: 20 69 6e 73 74 61 6c 6c 65 64 20 69 6e 20 3c 73 installed in <s
01f0: 74 72 6f 6e 67 3e 63 3a 5c 6d 73 79 73 3c 2f 73 trong>c:\msys</s
0200: 74 72 6f 6e 67 3e 0d 0a 20 20 2a 20 20 64 6f 77 trong>.. * dow
0210: 6e 6c 6f 61 64 20 5b 68 74 74 70 3a 2f 2f 67 6e nload [http://gn
0220: 75 77 69 6e 33 32 2e 73 6f 75 72 63 65 66 6f 72 uwin32.sourcefor
0230: 67 65 2e 6e 65 74 2f 70 61 63 6b 61 67 65 73 2f ge.net/packages/
0240: 7a 6c 69 62 2e 68 74 6d 7c 7a 6c 69 62 5d 20 74 zlib.htm|zlib] t
0250: 68 65 20 62 69 6e 61 72 79 20 61 6e 64 20 64 65 he binary and de
0260: 76 65 6c 6f 70 65 72 20 66 69 6c 65 73 2e 20 45 veloper files. E
0270: 78 74 72 61 63 74 20 74 6f 20 3c 73 74 72 6f 6e xtract to <stron
0280: 67 3e 63 3a 5c 4d 69 6e 67 57 3c 2f 73 74 72 6f g>c:\MingW</stro
0290: 6e 67 3e 0d 0a 20 20 2a 20 20 49 66 20 79 6f 75 ng>.. * If you
02a0: 20 77 61 6e 74 20 3c 73 74 72 6f 6e 67 3e 68 74 want <strong>ht
02b0: 74 70 73 3c 2f 73 74 72 6f 6e 67 3e 20 73 75 70 tps</strong> sup
02c0: 70 6f 72 74 20 64 6f 77 6e 6c 6f 61 64 20 5b 68 port download [h
02d0: 74 74 70 3a 2f 2f 67 6e 75 77 69 6e 33 32 2e 73 ttp://gnuwin32.s
02e0: 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 2f 70 ourceforge.net/p
02f0: 61 63 6b 61 67 65 73 2f 6f 70 65 6e 73 73 6c 2e ackages/openssl.
0300: 68 74 6d 7c 6f 70 65 6e 73 73 6c 5d 20 74 68 65 htm|openssl] the
0310: 20 62 69 6e 61 72 79 20 61 6e 64 20 64 65 76 65 binary and deve
0320: 6c 6f 70 65 72 20 66 69 6c 65 73 2e 20 45 78 74 loper files. Ext
0330: 72 61 63 74 20 74 6f 20 3c 73 74 72 6f 6e 67 3e ract to <strong>
0340: 63 3a 5c 4d 69 6e 67 57 3c 2f 73 74 72 6f 6e 67 c:\MingW</strong
0350: 3e 0d 0a 20 20 2a 20 20 64 6f 77 6e 6c 6f 61 64 >.. * download
0360: 20 5b 68 74 74 70 3a 2f 2f 77 77 77 2e 66 6f 73 [http://www.fos
0370: 73 69 6c 2d 73 63 6d 2e 6f 72 67 2f 64 6f 77 6e sil-scm.org/down
0380: 6c 6f 61 64 2e 68 74 6d 6c 7c 66 6f 73 73 69 6c load.html|fossil
0390: 5d 20 61 6e 64 20 63 6f 70 79 20 66 6f 73 73 69 ] and copy fossi
03a0: 6c 2e 65 78 65 20 74 6f 20 3c 73 74 72 6f 6e 67 l.exe to <strong
03b0: 3e 63 3a 5c 4d 69 6e 67 57 5c 62 69 6e 3c 2f 73 >c:\MingW\bin</s
03c0: 74 72 6f 6e 67 3e 0d 0a 0d 0a 3c 68 34 3e 47 65 trong>....<h4>Ge
03d0: 74 74 69 6e 67 20 66 6f 73 73 69 6c 20 73 6f 75 tting fossil sou
03e0: 72 63 65 20 63 6f 64 65 3c 2f 68 34 3e 0d 0a 20 rce code</h4>..
03f0: 20 2a 20 20 73 74 61 72 74 20 6d 73 79 73 2e 20 * start msys.
0400: 54 68 69 73 20 77 69 6c 6c 20 73 74 61 72 74 20 This will start
0410: 61 20 62 61 73 68 20 73 68 65 6c 6c 2e 20 0d 0a a bash shell. ..
0420: 20 20 2a 20 20 6d 6b 64 69 72 20 66 6f 73 73 69 * mkdir fossi
0430: 6c 3b 20 63 64 20 66 6f 73 73 69 6c 0d 0a 20 20 l; cd fossil..
0440: 2a 20 20 63 6c 6f 6e 65 20 66 6f 73 73 69 6c 20 * clone fossil
0450: 72 65 70 6f 73 69 74 6f 72 79 2e 20 65 2e 67 2e repository. e.g.
0460: 20 66 6f 73 73 69 6c 20 63 6c 6f 6e 65 20 68 74 fossil clone ht
0470: 74 70 3a 2f 2f 77 77 77 2e 66 6f 73 73 69 6c 2d tp://www.fossil-
0480: 73 63 6d 2e 6f 72 67 2f 20 6d 79 63 6c 6f 6e 65 scm.org/ myclone
0490: 2e 66 6f 73 73 69 6c 0d 0a 20 20 2a 20 20 6d 6b .fossil.. * mk
04a0: 64 69 72 20 73 72 63 3b 20 63 64 20 73 72 63 0d dir src; cd src.
04b0: 0a 20 20 2a 20 20 66 6f 73 73 69 6c 20 20 6f 70 . * fossil op
04c0: 65 6e 20 2e 2e 2f 6d 79 63 6c 6f 6e 65 2e 66 6f en ../myclone.fo
04d0: 73 73 69 6c 0d 0a 0d 0a 3c 68 34 3e 43 6f 6d 70 ssil....<h4>Comp
04e0: 69 6c 69 6e 67 20 66 6f 73 73 69 6c 20 73 6f 75 iling fossil sou
04f0: 72 63 65 20 63 6f 64 65 3c 2f 68 34 3e 0d 0a 20 rce code</h4>..
0500: 20 2a 20 20 49 66 20 79 6f 75 20 77 61 6e 74 20 * If you want
0510: 3c 73 74 72 6f 6e 67 3e 68 74 74 70 73 3c 2f 73 <strong>https</s
0520: 74 72 6f 6e 67 3e 20 73 75 70 70 6f 72 74 73 0d trong> supports.
0530: 0a 20 20 20 20 20 3c 75 6c 3e 3c 6c 69 3e 6d 61 . <ul><li>ma
0540: 6b 65 20 2d 66 20 4d 61 6b 65 66 69 6c 65 2e 77 ke -f Makefile.w
0550: 33 32 20 46 4f 53 53 49 4c 5f 45 4e 41 42 4c 45 32 FOSSIL_ENABLE
0560: 5f 53 53 4c 3d 31 20 4c 49 42 3d 22 2d 6c 73 73 _SSL=1 LIB="-lss
0570: 6c 20 2d 6c 63 72 79 70 74 6f 20 2d 6c 67 64 69 l -lcrypto -lgdi
0580: 33 32 20 2d 6c 6d 69 6e 67 77 65 78 20 2d 6c 7a 32 -lmingwex -lz
0590: 20 2d 6c 77 73 32 5f 33 32 22 3c 2f 6c 69 3e 20 -lws2_32"</li>
05a0: 3c 2f 75 6c 3e 0d 0a 20 20 2a 20 20 65 6c 73 65 </ul>.. * else
05b0: 20 64 6f 20 6d 61 6b 65 20 2d 66 20 4d 61 6b 65 do make -f Make
05c0: 66 69 6c 65 2e 77 33 32 20 0d 0a 0d 0a 20 0d 0a file.w32 .... ..
05d0: 3c 68 33 3e 43 6f 6d 70 69 6c 69 6e 67 20 75 6e <h3>Compiling un
05e0: 64 65 72 20 6c 69 6e 75 78 20 66 6f 72 20 77 69 der linux for wi
05f0: 6e 64 6f 77 73 20 77 69 74 68 20 4d 69 6e 67 77 ndows with Mingw
0600: 3c 2f 68 33 3e 0d 0a 54 68 69 73 20 69 73 20 63 </h3>..This is c
0610: 61 6c 6c 65 64 20 63 72 6f 73 73 20 63 6f 6d 70 alled cross comp
0620: 69 6c 69 6e 67 2e 20 49 27 6d 20 75 73 69 6e 67 iling. I'm using
0630: 20 5b 68 74 74 70 3a 2f 2f 77 77 77 2e 61 72 63 [http://www.arc
0640: 68 6c 69 6e 75 78 2e 6f 72 67 2f 7c 41 72 63 68 hlinux.org/|Arch
0650: 20 6c 69 6e 75 78 5d 20 64 69 73 74 72 69 62 75 linux] distribu
0660: 74 69 6f 6e 20 77 68 69 63 68 0d 0a 75 73 65 73 tion which..uses
0670: 20 74 68 65 20 70 61 63 6b 61 67 65 20 6d 61 6e the package man
0680: 61 67 65 72 20 70 61 63 6d 61 6e 20 74 6f 20 69 ager pacman to i
0690: 6e 73 74 61 6c 6c 20 70 61 63 6b 61 67 65 73 2e nstall packages.
06a0: 20 49 66 20 79 6f 75 20 68 61 76 65 20 61 20 64 If you have a d
06b0: 69 66 66 65 72 65 6e 20 6c 69 6e 75 78 20 64 69 ifferen linux di
06c0: 73 74 72 69 62 75 74 69 6f 6e 20 74 68 65 20 70 stribution the p
06d0: 61 63 6b 61 67 65 73 20 6d 69 67 68 74 20 62 65 ackages might be
06e0: 20 63 61 6c 6c 65 64 20 64 69 66 66 65 72 65 6e called differen
06f0: 74 2e 20 49 20 61 73 73 75 6d 65 20 61 20 6c 6f t. I assume a lo
0700: 67 69 6e 20 6e 61 6d 65 20 6f 66 20 72 65 6e 65 gin name of rene
0710: 7a 20 73 75 62 73 74 69 74 75 74 65 20 79 6f 75 z substitute you
0720: 72 73 20 77 65 72 65 20 61 70 72 6f 70 69 61 74 rs were apropiat
0730: 65 2e 0d 0a 0d 0a 3c 68 34 3e 49 6e 73 74 61 6c e.....<h4>Instal
0740: 6c 69 6e 67 20 74 68 65 20 74 6f 6f 6c 73 2e 3c ling the tools.<
0750: 2f 68 34 3e 0d 0a 20 20 2a 20 20 49 6e 73 74 61 /h4>.. * Insta
0760: 6c 6c 20 6d 69 6e 67 77 33 32 2d 67 63 63 73 2e ll mingw32-gccs.
0770: 20 57 69 74 68 20 41 72 63 68 20 6c 69 6e 75 78 With Arch linux
0780: 20 79 6f 75 20 64 6f 20 50 61 63 6d 61 6e 20 2d you do Pacman -
0790: 53 20 6d 69 6e 67 77 33 32 2d 67 63 63 20 28 41 S mingw32-gcc (A
07a0: 73 20 72 6f 6f 74 21 29 2e 20 54 68 69 73 20 77 s root!). This w
07b0: 69 6c 6c 20 62 65 20 69 6e 73 74 61 6c 6c 65 64 ill be installed
07c0: 20 69 6e 20 3c 73 74 72 6f 6e 67 3e 2f 75 73 72 in <strong>/usr
07d0: 2f 69 34 38 36 2d 6d 69 6e 67 77 33 32 3c 2f 73 /i486-mingw32</s
07e0: 74 72 6f 6e 67 3e 0d 0a 20 20 2a 20 20 64 6f 77 trong>.. * dow
07f0: 6e 6c 6f 61 64 20 5b 68 74 74 70 3a 2f 2f 67 6e nload [http://gn
0800: 75 77 69 6e 33 32 2e 73 6f 75 72 63 65 66 6f 72 uwin32.sourcefor
0810: 67 65 2e 6e 65 74 2f 70 61 63 6b 61 67 65 73 2f ge.net/packages/
0820: 7a 6c 69 62 2e 68 74 6d 7c 7a 6c 69 62 5d 20 74 zlib.htm|zlib] t
0830: 68 65 20 62 69 6e 61 72 79 20 61 6e 64 20 64 65 he binary and de
0840: 76 65 6c 6f 70 65 72 20 66 69 6c 65 73 2e 0d 0a veloper files...
0850: 20 20 2a 20 20 49 66 20 79 6f 75 20 77 61 6e 74 * If you want
0860: 20 3c 73 74 72 6f 6e 67 3e 68 74 74 70 73 3c 2f <strong>https</
0870: 73 74 72 6f 6e 67 3e 20 73 75 70 70 6f 72 74 20 strong> support
0880: 64 6f 77 6e 6c 6f 61 64 20 5b 68 74 74 70 3a 2f download [http:/
0890: 2f 67 6e 75 77 69 6e 33 32 2e 73 6f 75 72 63 65 /gnuwin32.source
08a0: 66 6f 72 67 65 2e 6e 65 74 2f 70 61 63 6b 61 67 forge.net/packag
08b0: 65 73 2f 6f 70 65 6e 73 73 6c 2e 68 74 6d 7c 6f es/openssl.htm|o
08c0: 70 65 6e 73 73 6c 5d 20 74 68 65 20 62 69 6e 61 penssl] the bina
08d0: 72 79 20 61 6e 64 20 64 65 76 65 6c 6f 70 65 72 ry and developer
08e0: 20 66 69 6c 65 73 2e 0d 0a 20 20 2a 20 20 45 78 files... * Ex
08f0: 74 72 61 63 74 20 74 6f 20 3c 73 74 72 6f 6e 67 tract to <strong
0900: 3e 2f 75 73 72 2f 69 34 38 36 2d 6d 69 6e 67 77 >/usr/i486-mingw
0910: 33 32 3c 2f 73 74 72 6f 6e 67 3e 20 62 79 3a 20 32</strong> by:
0920: 73 75 20 74 6f 20 72 6f 6f 74 0d 0a 20 20 2a 20 su to root.. *
0930: 20 63 64 20 3c 73 74 72 6f 6e 67 3e 2f 75 73 72 cd <strong>/usr
0940: 2f 69 34 38 36 2d 6d 69 6e 67 77 33 32 3c 2f 73 /i486-mingw32</s
0950: 74 72 6f 6e 67 3e 0d 0a 20 20 2a 20 20 75 6e 7a trong>.. * unz
0960: 69 70 20 20 7e 72 65 6e 65 7a 2f 44 6f 77 6e 6c ip ~renez/Downl
0970: 6f 61 64 73 2f 7a 6c 69 62 2d 31 2e 32 2e 33 2d oads/zlib-1.2.3-
0980: 62 69 6e 2e 7a 69 70 0d 0a 20 20 2a 20 20 75 6e bin.zip.. * un
0990: 7a 69 70 20 20 7e 72 65 6e 65 7a 2f 44 6f 77 6e zip ~renez/Down
09a0: 6c 6f 61 64 73 2f 7a 6c 69 62 2d 31 2e 32 2e 33 loads/zlib-1.2.3
09b0: 2d 6c 69 62 2e 7a 69 70 0d 0a 20 20 2a 20 20 75 -lib.zip.. * u
09c0: 6e 7a 69 70 20 20 7e 72 65 6e 65 7a 2f 44 6f 77 nzip ~renez/Dow
09d0: 6e 6c 6f 61 64 73 2f 6f 70 65 6e 73 73 6c 2d 30 nloads/openssl-0
09e0: 2e 39 2e 38 68 2d 31 2d 62 69 6e 2e 7a 69 70 0d .9.8h-1-bin.zip.
09f0: 0a 20 20 2a 20 20 75 6e 7a 69 70 20 20 7e 72 65 . * unzip ~re
0a00: 6e 65 7a 2f 44 6f 77 6e 6c 6f 61 64 73 2f 6f 70 nez/Downloads/op
0a10: 65 6e 73 73 6c 2d 30 2e 39 2e 38 68 2d 31 2d 6c enssl-0.9.8h-1-l
0a20: 69 62 2e 7a 69 70 0d 0a 20 20 2a 20 20 65 78 69 ib.zip.. * exi
0a30: 74 20 72 6f 6f 74 0d 0a 20 20 2a 20 20 64 6f 77 t root.. * dow
0a40: 6e 6c 6f 61 64 20 5b 68 74 74 70 3a 2f 2f 77 77 nload [http://ww
0a50: 77 2e 66 6f 73 73 69 6c 2d 73 63 6d 2e 6f 72 67 w.fossil-scm.org
0a60: 2f 64 6f 77 6e 6c 6f 61 64 2e 68 74 6d 6c 7c 66 /download.html|f
0a70: 6f 73 73 69 6c 5d 20 66 6f 72 20 6c 69 6e 75 78 ossil] for linux
0a80: 2c 20 61 6e 64 20 63 6f 70 79 20 66 6f 73 73 69 , and copy fossi
0a90: 6c 20 74 6f 20 73 6f 6d 65 20 77 68 65 72 65 20 l to some where
0aa0: 69 6e 20 79 6f 75 72 20 50 41 54 48 20 64 69 72 in your PATH dir
0ab0: 65 63 74 6f 72 69 65 73 20 6d 61 79 62 65 20 24 ectories maybe $
0ac0: 48 4f 4d 45 2f 62 69 6e 2e 0d 0a 0d 0a 3c 68 34 HOME/bin.....<h4
0ad0: 3e 47 65 74 74 69 6e 67 20 66 6f 73 73 69 6c 20 >Getting fossil
0ae0: 73 6f 75 72 63 65 20 63 6f 64 65 3c 2f 68 34 3e source code</h4>
0af0: 0d 0a 20 20 2a 20 20 63 64 20 3b 20 6d 6b 64 69 .. * cd ; mkdi
0b00: 72 20 66 6f 73 73 69 6c 3b 20 63 64 20 66 6f 73 r fossil; cd fos
0b10: 73 69 6c 0d 0a 20 20 2a 20 20 63 6c 6f 6e 65 20 sil.. * clone
0b20: 66 6f 73 73 69 6c 20 72 65 70 6f 73 69 74 6f 72 fossil repositor
0b30: 79 2e 20 65 2e 67 2e 20 66 6f 73 73 69 6c 20 63 y. e.g. fossil c
0b40: 6c 6f 6e 65 20 68 74 74 70 3a 2f 2f 77 77 77 2e lone http://www.
0b50: 66 6f 73 73 69 6c 2d 73 63 6d 2e 6f 72 67 2f 20 fossil-scm.org/
0b60: 6d 79 63 6c 6f 6e 65 2e 66 6f 73 73 69 6c 0d 0a myclone.fossil..
0b70: 20 20 2a 20 20 6d 6b 64 69 72 20 73 72 63 3b 20 * mkdir src;
0b80: 63 64 20 73 72 63 0d 0a 20 20 2a 20 20 66 6f 73 cd src.. * fos
0b90: 73 69 6c 20 20 6f 70 65 6e 20 2e 2e 2f 6d 79 63 sil open ../myc
0ba0: 6c 6f 6e 65 2e 66 6f 73 73 69 6c 0d 0a 0d 0a 3c lone.fossil....<
0bb0: 68 34 3e 43 6f 6d 70 69 6c 69 6e 67 20 66 6f 73 h4>Compiling fos
0bc0: 73 69 6c 20 73 6f 75 72 63 65 20 63 6f 64 65 3c sil source code<
0bd0: 2f 68 34 3e 0d 0a 20 20 2a 20 20 49 66 20 79 6f /h4>.. * If yo
0be0: 75 20 77 61 6e 74 20 3c 73 74 72 6f 6e 67 3e 68 u want <strong>h
0bf0: 74 74 70 73 3c 2f 73 74 72 6f 6e 67 3e 20 73 75 ttps</strong> su
0c00: 70 70 6f 72 74 73 0d 0a 20 20 20 20 20 3c 75 6c pports.. <ul
0c10: 3e 3c 6c 69 3e 6d 61 6b 65 20 2d 66 20 4d 61 6b ><li>make -f Mak
0c20: 65 66 69 6c 65 2e 77 33 32 20 54 43 43 3d 22 69 efile.w32 TCC="i
0c30: 34 38 36 2d 6d 69 6e 67 77 33 32 2d 67 63 63 20 486-mingw32-gcc
0c40: 2d 4f 73 20 2d 57 61 6c 6c 20 20 2d 44 46 4f 53 -Os -Wall -DFOS
0c50: 53 49 4c 5f 49 31 38 4e 3d 30 20 20 2d 4c 2f 75 SIL_I18N=0 -L/u
0c60: 73 72 2f 69 34 38 36 2d 6d 69 6e 67 77 33 32 2f sr/i486-mingw32/
0c70: 6c 69 62 20 2d 49 2f 75 73 72 2f 69 34 38 36 2d lib -I/usr/i486-
0c80: 6d 69 6e 67 77 33 32 2f 69 6e 63 6c 75 64 65 20 mingw32/include
0c90: 2d 44 46 4f 53 53 49 4c 5f 45 4e 41 42 4c 45 5f -DFOSSIL_ENABLE_
0ca0: 53 53 4c 3d 31 22 20 46 4f 53 53 49 4c 5f 45 4e SSL=1" FOSSIL_EN
0cb0: 41 42 4c 45 5f 53 53 4c 3d 31 20 4c 49 42 3d 22 ABLE_SSL=1 LIB="
0cc0: 2d 6c 73 73 6c 20 2d 6c 63 72 79 70 74 6f 20 2d -lssl -lcrypto -
0cd0: 6c 67 64 69 33 32 20 2d 6c 6d 69 6e 67 77 65 78 lgdi32 -lmingwex
0ce0: 20 2d 6c 7a 20 2d 6c 77 73 32 5f 33 32 22 3c 2f -lz -lws2_32"</
0cf0: 6c 69 3e 20 3c 2f 75 6c 3e 0d 0a 20 20 2a 20 20 li> </ul>.. *
0d00: 20 65 6c 73 65 20 6d 61 6b 65 20 2d 66 20 4d 61 else make -f Ma
0d10: 6b 65 66 69 6c 65 2e 77 33 32 20 54 43 43 3d 22 kefile.w32 TCC="
0d20: 69 34 38 36 2d 6d 69 6e 67 77 33 32 2d 67 63 63 i486-mingw32-gcc
0d30: 20 2d 4f 73 20 2d 57 61 6c 6c 20 20 2d 44 46 4f -Os -Wall -DFO
0d40: 53 53 49 4c 5f 49 31 38 4e 3d 30 20 20 2d 4c 2f SSIL_I18N=0 -L/
0d50: 75 73 72 2f 69 34 38 36 2d 6d 69 6e 67 77 33 32 usr/i486-mingw32
0d60: 2f 6c 69 62 20 2d 49 2f 75 73 72 2f 69 34 38 36 /lib -I/usr/i486
0d70: 2d 6d 69 6e 67 77 33 32 2f 69 6e 63 6c 75 64 65 -mingw32/include
0d80: 20 22 0d 0a 0d 0a 3c 68 34 3e 44 69 73 74 72 69 "....<h4>Distri
0d90: 62 75 74 69 6f 6e 20 6f 66 20 63 72 6f 73 73 20 bution of cross
0da0: 63 6f 6d 70 69 6c 65 64 20 66 6f 73 73 69 6c 2e compiled fossil.
0db0: 65 78 65 3c 2f 68 34 3e 0d 0a 42 65 63 61 75 73 exe</h4>..Becaus
0dc0: 65 20 79 6f 75 20 68 61 76 65 20 6c 69 6e 6b 65 e you have linke
0dd0: 64 20 61 67 61 69 6e 73 74 20 7a 6c 69 62 20 61 d against zlib a
0de0: 6e 64 20 6d 61 79 62 65 20 73 73 6c 20 79 6f 75 nd maybe ssl you
0df0: 20 6e 65 65 64 20 74 6f 20 69 6e 63 6c 75 64 65 need to include
0e00: 20 66 72 6f 6d 20 3c 73 74 72 6f 6e 67 3e 2f 75 from <strong>/u
0e10: 73 72 2f 69 34 38 36 2d 6d 69 6e 67 77 33 32 2f sr/i486-mingw32/
0e20: 62 69 6e 3c 2f 73 74 72 6f 6e 67 3e 20 7a 6c 69 bin</strong> zli
0e30: 62 31 2e 64 6c 6c 20 61 6e 64 2c 20 6f 70 74 69 b1.dll and, opti
0e40: 6f 6e 61 6c 2c 20 6c 69 62 73 73 6c 33 32 2e 64 onal, libssl32.d
0e50: 6c 6c 20 28 61 6e 64 20 6d 61 79 62 65 20 61 6c ll (and maybe al
0e60: 73 6f 20 6c 69 62 65 61 79 33 32 2e 64 6c 6c 29 so libeay32.dll)
0e70: 0d 0a 0d 0a 3c 68 34 3e 74 65 73 74 69 6e 67 20 ....<h4>testing
0e80: 74 68 65 20 63 72 6f 73 73 20 63 6f 6d 70 69 6c the cross compil
0e90: 65 64 20 66 6f 73 73 69 6c 2e 65 78 65 3c 2f 68 ed fossil.exe</h
0ea0: 34 3e 0d 0a 20 20 2a 20 20 63 6f 70 79 20 66 6f 4>.. * copy fo
0eb0: 73 73 69 6c 2e 65 78 65 20 61 6e 64 20 74 68 65 ssil.exe and the
0ec0: 20 64 6c 6c 27 73 20 74 6f 20 61 20 77 69 6e 64 dll's to a wind
0ed0: 6f 77 73 20 73 79 73 74 65 6d 2e 20 46 6f 72 20 ows system. For
0ee0: 74 65 73 74 69 6e 67 20 70 75 72 70 6f 73 65 20 testing purpose
0ef0: 61 6c 6c 20 69 6e 20 6f 6e 65 20 64 69 72 65 63 all in one direc
0f00: 74 6f 72 79 2e 20 46 6f 72 20 70 72 6f 64 75 63 tory. For produc
0f10: 74 69 6f 6e 20 75 73 65 20 61 20 64 69 72 65 63 tion use a direc
0f20: 74 6f 72 79 20 69 6e 20 79 6f 75 72 20 50 41 54 tory in your PAT
0f30: 48 0d 0a 20 20 2a 20 20 66 6f 73 73 69 6c 20 63 H.. * fossil c
0f40: 6c 6f 6e 65 20 68 74 74 70 3a 2f 2f 77 77 77 2e lone http://www.
0f50: 66 6f 73 73 69 6c 2d 73 63 6d 2e 6f 72 67 2f 20 fossil-scm.org/
0f60: 68 74 74 70 2e 66 6f 73 73 69 6c 0d 0a 20 20 2a http.fossil.. *
0f70: 20 20 49 66 20 69 74 20 68 61 73 20 3c 73 74 72 If it has <str
0f80: 6f 6e 67 3e 68 74 74 70 73 3c 2f 73 74 72 6f 6e ong>https</stron
0f90: 67 3e 20 73 75 70 70 6f 72 74 20 74 68 65 6e 20 g> support then
0fa0: 66 6f 73 73 69 6c 20 63 6c 6f 6e 65 20 68 74 74 fossil clone htt
0fb0: 70 73 3a 2f 2f 77 77 77 2e 66 6f 73 73 69 6c 2d ps://www.fossil-
0fc0: 73 63 6d 2e 6f 72 67 2f 20 68 74 74 70 73 2e 66 scm.org/ https.f
0fd0: 6f 73 73 69 6c 0d 0a 0d 0a 0a 5a 20 34 61 66 64 ossil.....Z 4afd
0fe0: 33 33 31 34 35 31 37 30 32 32 33 30 31 66 30 35 3314517022301f05
0ff0: 63 34 34 34 64 39 36 34 39 62 33 35 0a c444d9649b35.