mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-10 19:33:11 +00:00
Estimated hours taken: 7 Branches: main and 0.12 Port Mercury to MinGW. README.Cygwin: README.MS-Windows: README.MinGW: Move most of README.MS-Windows to README.Cygwin and make README.MS-Windows refer the user to README.Cygwin, README.MinGW or README.MS-VisualC. README.MinGW describes how to install the source distribution under MSYS. configure.in: Configure Mercury for MinGW. Most of the options are the same as Cygwin. boehm_gc/Makefile: Add a workaround to a problem with cp not working properly just after a file is created on MinGW. If cygpath is not present (which it isn't on MSYS), then use /bin/sh to invoke the C compiler. scripts/mmc.in: Do not use exec to invoke mercury_compile under MinGW. exec doesn't seem to understand Windows like paths with a drive letter in front.
28 lines
1019 B
Plaintext
28 lines
1019 B
Plaintext
-----------------------------------------------------------------------------
|
|
|
|
MERCURY ON WINDOWS
|
|
|
|
Mercury has been ported to MS Windows.
|
|
We've tested the port on Windows XP SP2,
|
|
but it should work on Windows 95, 98, ME 2000 and NT.
|
|
We don't have any plans for a port to Windows 3.1.
|
|
|
|
The Mercury build process makes 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 (www.cygwin.com). For instructions on how to install Mercury
|
|
under Cygwin see README.Cygwin.
|
|
|
|
2. MSYS (www.mingw.org). For instructions on how to install Mercury
|
|
under MSYS 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.
|
|
|
|
-----------------------------------------------------------------------------
|