Current Release
Mercury 11.07.2 was released on August 3, 2012.Information
- Release notes for 11.07
- Contents of release 11.07 distribution
- Known problems with release 11.07
- Limitations of the current release.
Supported Platforms
The latest release is known to work on the following platforms:
- x86 and x86-64 machines running Linux
- x86 and x86-64 machines running Microsoft Windows XP 3, Windows 7 and Windows Server 2008 R2.
- Apple Intel machines (both x86 and x86-64) running Mac OS X 10.6
It should be pretty easy to port to any sufficiently Unix-like system.
What do I need?
- For Unix systems, you will need the following:
- GNU C (gcc)
We recommend using GCC version 4.2 or later, although most versions from 3.4.X onwards should work.
The following versions of GCC will definitely NOT work: 3.0, 3.3.1, 4.0. They have bugs that cause internal compiler errors when compiling the C code generated by the Mercury compiler.
Avoid GCC 2.96 (distributed with Red Hat Linux 7.x) and any other unofficial releases of GCC. Also avoid versions of GCC less than GCC 2.95.X.
It is also possible to use other C compilers, such as clang.
- GNU make (version 3.69 or higher).
- GNU C (gcc)
- For Windows,
- To compile the source distribution on Windows you
will need either Cygwin,
which you can download
here,
or MSYS.
Both Cygwin and MSYS include GNU C and GNU Make.
- You can optionally use
Microsoft Visual C rather than GNU C (though Cygwin
or MSYS is still required).
- To compile the source distribution on Windows you
will need either Cygwin,
which you can download
here,
or MSYS.
Both Cygwin and MSYS include GNU C and GNU Make.
- To compile Mercury programs to Java, you will need the
Java SDK
version 5.0 or higher.
- To compile Mercury programs to Erlang, you will need the
Erlang OTP.
- To compile Mercury programs to C#, you will need the Microsoft .NET Framework version 2.0 or later, or Mono version 2.8 or later.
Source Distribution
The main "mercury-compiler" source distribution is about 25 Mb. This includes the compiler, standard library, debugger, profilers, and other tools.There is also a "mercury-extras" distribution which contains a number of useful additional libraries. This is distributed separately, mainly for copyright reasons (some of the additional libraries do not meet the Debian Free Software Guidelines). We recommend that everyone who downloads the "compiler" distribution should also download the "extras" distribution.
Finally there is also a "mercury-tests" distribution which contains our test suite. This may be useful if you are modifying the compiler, or porting it to a new system.
- Compiler (25 Mb)
-
Australia (FTP)
Australia (HTTP)
- Extras (750 kb)
-
Australia (FTP)
Australia (HTTP)
- Tests (1 Mb)
- Australia (FTP) Australia (HTTP)