Skip to content
Fossil Changes To compillingOnWindows
Login

Changes To compillingOnWindows

Changes to "compillingOnWindows" between 2010-08-29 06:35:30 and 2010-08-29 16:41:33

︙
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
16
17
18
19
20
21
22

23
24
25
26
27
28
29







-







  *  nmake win32\Makefile.msc
  *  copy zlib.lib c:\msc\extra\lib
  *  copy zlib.h and zconf.h to c:\msc\extra\include
  *  make sure nasm is in the path
  *  cd into c:\src\openssl
  *  perl Configure VC-WIN32 --prefix=c:\msc\extra
  *  ms\do_nasm
  *  Edit ms\nt.mak change ASM=nasmw to ASM=nasm
  *  nmake -f ms\nt.mak
  *  nmake -f ms\nt.mak install
  *  checkout fossil. assume c:\src\fossil
  *  cd \src\fossil
  *  fossil update windowscompilers
  *  mkdir msc\
  *  cd msc
︙
115
116
117
118
119
120
121
122
123
124
114
115
116
117
118
119
120










-
-
-
<h4>Distribution of cross compiled fossil.exe</h4>
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)

<h4>testing the cross compiled fossil.exe</h4>
  *  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
  *  fossil clone http://www.fossil-scm.org/ http.fossil
  *  If it has <strong>https</strong> support then fossil clone https://www.fossil-scm.org/ https.fossil