Files
mercury/Documentation/README.MS-Windows.md
Julien Fischer deb4bbcb4a Adjust markup.
Documentation/README.MS-Windows.md:
     As above.
2026-04-13 08:56:20 +10:00

61 lines
1.9 KiB
Markdown

Mercury on Windows
==================
This file documents the port of Mercury to Microsoft Windows.
Contents
--------
* Supported versions of Windows
* Building Mercury on Windows
* Building Mercury for Windows on Linux
* Using Mercury on Windows
Supported versions of Windows
-----------------------------
Mercury has been tested with the following versions of Windows:
* Windows 10
* Windows 11
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.
Two such environments are supported:
1. [Cygwin](https://www.cygwin.com). See [README.Cygwin.md](README.Cygwin.md).
2. [MSYS2](https://www.msys2.org). See [README.MSYS2.md](README.MSYS2.md).
Mercury can also be built using the MS Visual C compiler (MSVC), although one
of the above environments is still required for the build process.
See [README.MS-VisualC.md](README.MS-VisualC.md) for instructions on how to
build Mercury with MSVC.
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.cross.md](README.cross.md).
Using Mercury on Windows
------------------------
On Windows systems the usual name for the Mercury compiler, `mmc`, conflicts
with the name of the executable for the Microsoft Management Console.
See the "Using the Mercury compiler" chapter of
[The Mercury User's Guide](https://mercurylang.org/documentation/documentation.html) for
how to deal with this.
-----------------------------------------------------------------------------