Skip to content


Subversion checkout URL

You can clone with
Download ZIP
C++ C Emacs Lisp XSLT Shell Perl Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
contrib Now Mozart compile mostly warning-free again!
design Fixes Space Leaks from G and Y registers trapped in thread stacks.
misc Update for recent aquamac
platform fixes deprecated casts in GCC
share Some support for easy building on 64-bit Linux (but still as a 32-bit…
LICENSE Changed copyright.
LICENSE-others Added list of files that do not fall under Mozart license (fixes #668)
LICENSE.html Changed copyright.
LICENSE.rtf cleaned up - no 'std' targets (note that '--with-stdlib' is still
README Updated build instructions for Debian/Ubuntu x64 in README
aclocal.m4 Added the time of build to the OPI greeting.
config.sub updated config.guess and config.sub
install-sh lastest versions
mkinstalldirs -->


For more information on Oz and Mozart see

We would appreciate if you could send E-mail to

with some brief information for what you plan to use Mozart.

Have lots of fun!


Building mozart for Arch Linux.
sudo packer -S mozart-git

Building mozart for Ubuntu/Debian (x64).
$ sudo apt-get install emacs flex bison tk-dev build-essential g++-multilib lib32z1-dev lib32gmp3-dev
$ mkdir -p ~/dev/mozart
$ cd ~/dev/mozart
$ git clone git://
$ ./configure --prefix=/home/<username>/oz --disable-contrib-gdbm
$ make && make install
amend and append the below to your ~/.profile file
export OZHOME=/home/<username>/oz
export PATH=$PATH:$OZHOME/bin

Building mozart for OS X
install homebrew + xcode dependency
$ brew install git emacs gmp gdbm
$ mkdir ~/oz
$ mkdir -p ~/dev/mozart
$ cd ~/dev/mozart
$ git clone git://
$ mkdir build
$ cd build
$ ../mozart/configure --prefix=/Users/<username>/oz
$ make && make install
amend and append the below to the ~/.bash_profile file
export OZHOME=/Users/<username>/oz
export PATH=$PATH:$OZHOME/bin

Building mozart in OS X (X86_64)
Install gmp:
$ curl -O
$ tar xvfj gmp-4.3.2.tar.bz2
$ cd gmp-4.3.2
$ ./configure CFLAGS="-arch i386" CXXFLAGS="-arch i386" ABI="32" --prefix=/usr/local
$ make
$ sudo make install

Install Mozart:
$ git clone git://
$ cd mozart
$ export CFLAGS="-arch i386"
$ export CPPFLAGS="-arch i386"
$ export LDFLAGS="-arch i386"
$ ./configure  --prefix=/usr/local --disable-contrib-gdbm --disable-doc --disable-contrib-micq
$ make
$ sudo make install

In case of any errors please send a message to the hackers list and _include_ the output
of the following commands:
$ uname -a
$ gcc --version
$ lipo -info /usr/local/lib/libgmp.dylib 


Please refer to this website for more detail :
Something went wrong with that request. Please try again.