Fossil SCM

Makefile for native MinGW

Fixed

fa403b6a123659d… · opened 15 years, 3 months ago

Type
Build_Problem
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
Dec. 23, 2010 10:55 a.m.

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 /win/Makefile.MinGW

I am using this Makefile with the MinGW Distribution from www.equation.com without problems.

-- tsbg


anonymous claiming to be tsbg added on 2010-12-23 13:00:55: When specifying the path to the MinGW Makefile on the make command line, use a relative path specification. For example:


$ make -f ..\..\fossil\win\Makefile.MinGW

This is because the Makeheaders program has a problem with full paths on Windows:


$ makeheaders d:\dev\fossil\src\sqlite3.h
Can't read input file "d"

I think this is because the colon is used on Windows as a device name separator.

-- tsbg


Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button