74
75
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
|
74
75
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
|
-
+
+
|
* mkdir src; cd src
* fossil open ../myclone.fossil
<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
This is tested under Windows XP with PellesC 5 and Window 7 with PellesC 6(32 & 64 bit)
<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>
|