Did you know ... Search Documentation:
GIT commit info
Include instructions for building on Windows.
authorJan Wielemaker
Mon Feb 6 13:24:50 2017 +0100
committerWiki manager
Mon Feb 6 13:24:50 2017 +0100
commit9a160587ea19029a304d4e5b2dfbc9d932038149
tree678d680d9dae19a714e43d85ec811c5b520c9db9
parentd4e8fd7920930461a92ea820dd8bad125e418714
Diff style: patch stat
diff --git a/build/MinGW.txt b/build/MinGW.txt
index 90acb90..05eb9df 100644
--- a/build/MinGW.txt
+++ b/build/MinGW.txt
@@ -16,12 +16,30 @@ The details for building SWI-Prolog for MS-Windows under Linux are
 documented in the executable readme file =|README.mingw|= of the
 source distribution. These scripts have been developed on 64-bit
 [[Ubuntu][http://www.ubuntu.com/]] 12.04 and are currently used
-for building the binary releases on Ubuntu 13.10.
+for building the binary releases on Ubuntu 16.04.
 
-We currently do not have experience building SWI-Prolog using MinGW/MSYS
-on Windows. It is probably possible using the instructions in the above
-mentioned =|README.mingw|= file. Please send comment and or fixes if
-you try this. Note that cross compiling is much faster because
+## Building on Windows itself
+
+According to Matthias Gondon the core system (i.e., without packages)
+can be build on Windows as follows:
+
+  - Download mingw-get from http://www.mingw.org, run the program
+  - From the “Basic setup”, install packages =|mingw32-developer-toolkit,
+    mingw32-base, mingw32-gcc, mingw32-gfortran, mingw32-g++|=
+  - From “All packages”, select =|mingw32-gmp|=
+  - Extract current swipl sources to a folder that *does not contain spaces*
+  - =|cd swipl-devel/src|=
+  - =|autoconf|=
+  - =|autoheader|=
+  - =|./configure|=
+  - =|make|=
+
+This requires a version *after Feb 6, 2017* (GIT, releases 7.4.0-rc2 and
+7.5.1)
+
+Building the full system is probably possible using the instructions in
+the above mentioned =|README.mingw|= file. Please send comment and or
+fixes if you try this. Note that cross compiling is much faster because
 SWI-Prolog depends on an extensive =configure= script that executes slow
 on the MSYS bash implementation.