mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-14 05:12:33 +00:00
README.MinGW: Use "MinGW-w64" spelling for the project. Link to MSYS2 installer and describe how to install gcc in it. Move optional Java/C#/Erlang steps. README.MS-Windows: Mention MSYS2 as a possible build environment.
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
This file documents the port of Mercury to MS Windows.
|
|
|
|
-----------------------------
|
|
Supported versions of Windows
|
|
-----------------------------
|
|
|
|
Mercury has been tested with the following versions of Windows:
|
|
|
|
* Windows XP SP3
|
|
* Windows 7
|
|
* Windows Server 2008 R2
|
|
|
|
It should also work with Windows XP SP2 and Windows Vista but we have
|
|
not tested it with those.
|
|
|
|
We no longer actively maintain support for older versions of Windows.
|
|
|
|
|
|
---------------------------
|
|
Building Mercury on Windows
|
|
---------------------------
|
|
|
|
The Mercury build process requires the use of a number of Unix tools such as sh
|
|
and make. This means that a Unix emulation environment is required to build
|
|
Mercury on Windows.
|
|
|
|
Three such environments are supported:
|
|
|
|
1. Cygwin (www.cygwin.com). See README.Cygwin.
|
|
|
|
2. MSYS (www.mingw.org). See README.MinGW.
|
|
|
|
3. MSYS2 (msys2.github.io). See README.MinGW.
|
|
|
|
Mercury can also be built using the MS Visual C compiler, although one of
|
|
the above environments is still required for the build process. See
|
|
README.MS-VisualC for instructions on how to build Mercury with the
|
|
MS Visual C compiler.
|
|
|
|
NOTE: while a Unix emulation environment is required to build Mercury on
|
|
Windows, one is NOT required to use Mercury on Windows.
|
|
|
|
|
|
-------------------------------------
|
|
Building Mercury for Windows on Linux
|
|
-------------------------------------
|
|
|
|
Alternatively, you can cross-compile Mercury on Linux with a MinGW
|
|
cross-compiler. See README.MinGW-cross.
|