Download
The latest release of the day is version .
Please treat ROTDs with caution -- although they are often very useful and reasonably stable, they are not widely tested, and may have unfinished features and rough edges. We are still interested in feedback and bug reports on the ROTDs. Please file bug reports in our bug database.
Information
- Changes since version 11.07.2
- Instructions for installing from the source distribution
- Failing test cases for the current ROTD
Supported Platforms
The latest release of the day is known to work on the following platforms:
- x86 and x86-64 machines running Linux
- Apple Intel machines (both x86 and x86-64) running Mac OS X 10.6.
Mercury should also work on the following platforms, although this is not tested for every release of the day.
- x86 machines running Microsoft Windows NT, 2000, XP, Vista, 7, or Server 2008 R2.
- x86 machines running FreeBSD 3.0
- x86 machines running other BSD Unix systems
- x86 machines running SunOS 5.x
- PowerPC machines running Linux
- PowerPC machines running Mac OS 10.3 and above
- Sun SPARC machines running SunOS 4.x and 5.x
- HP PA machines running HPUX
- IBM RS/6000 machines running AIX
- DEC Mips machines running ULTRIX
- DEC Alpha machines running OSF/1 (Digital Unix)
- DEC Alpha machines running Linux
- SGI Mips machines running IRIX 5.x
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.