105 105 * cd ; mkdir fossil; cd fossil
106 106 * clone fossil repository. e.g. fossil clone http://www.fossil-scm.org/ myclone.fossil
107 107 * mkdir src; cd src
108 108 * fossil open ../myclone.fossil
109 109
110 110 <h4>Compiling fossil source code</h4>
111 111 * If you want <strong>https</strong> supports
112 - <ul><li>make -f Makefile.w32 TCC="i486-mingw32-gcc -Os -Wall -DFOSSIL_I18N=0 -L/usr/i486-mingw32/lib -I/usr/i486-mingw32/include -DFOSSIL_ENABLE_SSL=1" FOSSIL_ENABLE_SSL=1 LIB="-lssl -lcrypto -lgdi32 -lmingwex -lz -lws2_32"</li> </ul>
112 + <ul><li>make -f Makefile.w32 TCC="i486-mingw32-gcc -Os -Wall -DFOSSIL_I18N=0 -L/usr/i486-mingw32/lib -I/usr/i486-mingw32/include -DFOSSIL_ENABLE_SSL=1 LIB="-lssl -lcrypto -lgdi32 -lmingwex -lz -lws2_32"</li> </ul>
113 113 * else make -f Makefile.w32 TCC="i486-mingw32-gcc -Os -Wall -DFOSSIL_I18N=0 -L/usr/i486-mingw32/lib -I/usr/i486-mingw32/include "
114 114
115 115 <h4>Distribution of cross compiled fossil.exe</h4>
116 116 Because you have linked against zlib and maybe ssl you need to include from <strong>/usr/i486-mingw32/bin</strong> zlib1.dll and, optional, libssl32.dll (and maybe also libeay32.dll)
117 117
118 118 <h4>testing the cross compiled fossil.exe</h4>
119 119 * copy fossil.exe and the dll's to a windows system. For testing purpose all in one directory. For production use a directory in your PATH
120 120 * fossil clone http://www.fossil-scm.org/ http.fossil
121 121 * If it has <strong>https</strong> support then fossil clone https://www.fossil-scm.org/ https.fossil
122 +
123 +
124 +