Building Fossil on Windows with MinGW currently requires also MSYS, a small UNIX abstraction layer.
The attached patch for makemake.tcl extends the range of generated Makefiles with one for native MinGW, no MSYS or awk required.
Execute makemake.tcl from the Fossil toplevel directory as follows:
$ tclsh src/makemake.tcl MinGW > win/Makefile.MinGW
Specify the generated Makefile on the make command line:
$ make -f <path to Fossil>/win/Makefile.MinGW
I am using this Makefile with the MinGW Distribution from www.equation.com without problems.
-- tsbg
<hr /><i>anonymous claiming to be tsbg added on 2010-12-23 13:00:55:</i><br />
When specifying the path to the MinGW Makefile on the make command line, use
a relative path specification. For example:
<verbatim>
$ make -f ..\..\fossil\win\Makefile.MinGW
</verbatim>
This is because the Makeheaders program has a problem with full paths on Windows:
<verbatim>
$ makeheaders d:\dev\fossil\src\sqlite3.h
Can't read input file "d"
</verbatim>
I think this is because the colon is used on Windows as a device name separator.
-- tsbg
|