The Mercury Project
Release of the day

[Mercury Logo]
Home

News

Information

Documentation

Mailing Lists

Back-ends

Download
  Current Release
  Snapshot
  Old Releases

Related

Contact

Search

Bug Database

Release of the day

The latest release of the day is version rotd-2009-11-19.

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

Supported Platforms

The latest release of the day is known to work on the following platforms:

  • x86/x86_64 machines running Debian Linux
  • x86 machines running SuSE Linux

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 or Vista.
  • x86/x86_64 machines running other versions of Linux (however, there are some known problems with the version of GNU C that shipped with Red Hat Linux 7.0)
  • 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:

    1. GNU C (gcc)

      We recommend GCC 3.4.x.

      GCC 3.0, 3.3.1 and 4.0 will NOT work. They have bugs which cause internal compiler errors when compiling the C code generated by the Mercury compiler.

      GCC 4.1 - 4.4 do not work well with the low-level C grades. gcc-specific optimisations will be disabled, so performance will be much worse than it should be. We are working on it.

      Avoid GCC 2.96 (distributed with Red Hat Linux 7.x) and 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 lcc, but we don't recommend that.

    2. GNU make (version 3.69 or higher).

  • For Windows,

    1. 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.

    2. You can optionally use Microsoft Visual C rather than GNU C (though Cygwin or MSYS is still required).

  • 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.

  • The .NET back-end currently does not work. However, if you want to take a look at our preliminary support for .NET, you also need
    1. the Microsoft .NET SDK version 1, available from MSDN. If you are an MSDN Universal subscriber you can also order CDs as part of your subscription.
    2. A Windows system suitable for development with Microsoft .NET, such as Windows XP.

Source Distribution

The main "mercury-compiler" source distribution 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).

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
Australia (FTP)     Australia (HTTP)    

Extras
Australia (FTP)     Australia (HTTP)    

Tests
Australia (FTP)     Australia (HTTP)