The Mercury Project
Current Release

[Mercury Logo]
Home

News

Information

Documentation

Mailing Lists

Back-ends

Download
  Current Release
    Info
    Source
    Binaries
  Snapshot
  Old Releases

Related

Contact

Search

Bug Database

Current Release

Mercury 0.13.1 was released on December 1, 2006.

Information

Supported Platforms

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

  • x86 machines running Debian Linux
  • x86 machines running Microsoft Windows XP
  • x86 machines running Solaris 9 (SunOS 5.9)
  • x86_64 machines running Debian Linux
  • Apple PowerPC machines running Mac OS 10.3 and above

Mercury should also work on the following platforms, although we have not tested the latest release on these:

  • x86 machines running other versions of Microsoft Windows (95, 98, 98SE, ME, NT, 2000)
  • x86 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 Solaris 8 (SunOS 5.8)
  • PowerPC machines running Linux
  • 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

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:

    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 that cause internal compiler errors when compiling the C code generated by the Mercury compiler.

      GCC 4.2 - 4.4 will NOT work either. We are working on it.

      GCC 4.1 works for the most part, but there is a known problem so we don't recommend that either.

      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. You will need Cygwin, which you can download here. Cygwin includes GNU C and GNU Make.

    2. You can optionally use Microsoft Visual C rather than GNU C.

    3. 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 is about 15 Mb. This includes the compiler, standard library, debugger, profilers, and other tools. (Note that this does not include all the sources needed to build the native-code back-end; for that you also need the "mercury-gcc" and "gcc" distributions. See here for details.)

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

Extras (750 kb)
Australia (FTP)     Australia (HTTP)    

Tests (914 kb)
Australia (FTP)     Australia (HTTP)    

Binary Distributions

Binary distributions for 0.13.1 are not yet available.