Skip to content
Fossil Changes To compillingOnWindows
Login

Changes To compillingOnWindows

Changes to "compillingOnWindows" between 2012-03-18 20:40:37 and 2012-11-30 13:10:11

︙
62
63
64
65
66
67
68
69

70
71
72
73
74
75
76
77
78
79
80

81
82
83
84
85

86
87
88
89
90
91
92
62
63
64
65
66
67
68

69


70

71
72





73
74
75
76
77

78
79
80
81
82
83
84
85







-
+
-
-

-


-
-
-
-
-
+




-
+







  *  mkdir dmc\
  *  cd dmc
  *  c:\DM\bin\make -f ..\win\Makefile.dmc


<h3>Compiling under windows with Mingw</h3>
<h4>Installing the tools.</h4>
  *  download [http://sourceforge.net/projects/mingw/files/|mingw-xx.exe] version 5.1.6 or later. Install it. I assume it will be installed in <strong>c:\MingW</strong>
  *  download [http://sourceforge.net/projects/mingw/files/|mingw-get-inst-xx.exe]. Install it using the default <strong>c:\MingW</strong>. Make sure you tell the installer to include MSYS by checking the relevant option.
  *  download [http://sourceforge.net/projects/mingw/files/|msys-xx.exe] version 1.0.10 or later. Install it. I assume it will be installed in <strong>c:\msys</strong>
  *  download [http://gnuwin32.sourceforge.net/packages/zlib.htm|zlib] the binary and developer files. Extract to <strong>c:\MingW</strong>
  *  If you want <strong>https</strong> support download [http://gnuwin32.sourceforge.net/packages/openssl.htm|openssl] the binary and developer files. Extract to <strong>c:\MingW</strong>
  *  download [http://www.fossil-scm.org/download.html|fossil] and copy fossil.exe to <strong>c:\MingW\bin</strong>

<h4>Getting fossil source code</h4>
  *  start msys. This will start a bash shell. 
  *  mkdir fossil; cd fossil
  *  clone fossil repository. e.g. fossil clone http://www.fossil-scm.org/ myclone.fossil
  *  mkdir src; cd src
  *  fossil  open ../myclone.fossil
Log on as Anonymous, go to the Timeline section, and download the latest development source code. Just unzip the Fossil file anywhere you want.

<h4>Compiling fossil source code</h4>
  *  If you want <strong>https</strong> supports
     <ul><li>make -f Makefile.w32 FOSSIL_ENABLE_SSL=1 LIB="-lssl -lcrypto -lgdi32 -lmingwex -lz -lws2_32"</li> </ul>
  *  else do make -f Makefile.w32 
  *  else, cd c:\mingw, and run make -f win/Makefile.mingw. The compiled fossil.exe will be available at the root in c:\mingw.
 
<h3>Compiling under windows with PellesC</h3>
  *  download and install [http://www.smorgasbordet.com/pellesc/index.htm|PellesC] C-compiler
  *  download a windows version of gnu-make([http://unxutils.sourceforge.net/])
  *  download the zlib source and unzip
  *  checkout fossil
  *  edit Makefile.PellesCGMake and check paths
︙