Skip to content
Fossil Changes To compillingOnWindows
Login

Changes To compillingOnWindows

Changes to "compillingOnWindows" between 2011-06-11 05:12:53 and 2012-03-18 20:40:37

︙
39
40
41
42
43
44
45





46
47
48
49
50
51
52
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57







+
+
+
+
+







  *  copy zlib.h and zconf.h to c:\DM\extra\include
  *  checkout fossil. assume c:\src\fossil
  *  cd \src\fossil
  *  mkdir dmc\
  *  cd dmc
  *  c:\DM\bin\make -f ..\win\Makefile.dmc

<h4>Updating windows sdk dmc</h4>
With the advent of fossil having a windows service interface compiling fossil will not work. The simplest option is to replace dm/include/win32/winsvc.h.
The downside is that your headers are from 2 different versions and possible from 2 different sources. I used the files from mingw.org to update the sdk.
The recipe for the upgrade can be found on the digital mars news server. 

<h3>Compiling under Wine with Digital Mars C compiler</h3>
  *  download [http://www.digitalmars.com/download/freecompiler.html|Digital Mars c-ompiler]. unzip to c:\
  *  download the [http://zlib.net/|zlib source].
  *  unzip it
  *  open dosbox "wineconsole cmd"
  *  compile zlib
  *  mkdir c:\DM\extra\lib, c:\DM\extra\include
︙