Skip to content
Fossil Changes To compillingOnWindows
Login

Changes To compillingOnWindows

Changes to "compillingOnWindows" between 2010-08-31 18:00:49 and 2010-09-29 16:18:52

︙
76
77
78
79
80
81
82












83
84
85
86
87
88
89
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101







+
+
+
+
+
+
+
+
+
+
+
+








<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 

 
<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
  *  open dosbox
  *  change directory to fossil project tree
  *  mkdir PellesC
  *  cd PellesC
  *  <i>unxutils-path</i>\make -f ..\win\Makefile.PellesCGMake

<h3>Compiling under linux for windows with Mingw</h3>
This is called cross compiling. I'm using [http://www.archlinux.org/|Arch linux] distribution which
uses the package manager pacman to install packages. If you have a differen linux distribution the packages might be called different. I assume a login name of renez substitute yours were apropiate.

<h4>Installing the tools.</h4>
  *  Install mingw32-gccs. With Arch linux you do Pacman -S mingw32-gcc (As root!). This will be installed in <strong>/usr/i486-mingw32</strong>
  *  download [http://gnuwin32.sourceforge.net/packages/zlib.htm|zlib] the binary and developer files.
︙