Building Mscgen
===============

Building is done with the GNU autotools and should be largely automatic.

Win32 - Native
--------------

You will need Cygwin (from http://www.cygwin.com) and the following packages
installed via the Cygwin setup program:

 - gcc
 - gcc-mingw
 - make
 - flex
 - bison
 - binutils

From the top level directory, run the configure script with the option to
build native:

  $ ./configure CFLAGS=-mno-cygwin
  $ make
  $ make check
  $ make install

This will install a native version of mscgen and the accompanying bgd.dll file
into the cygwin directories.  If you wish to install elsewhere, either use the
--prefix option to 'configure', or manually copy mscgen.exe and the DLL.


Win32 - Cygwin
--------------

You will need Cygwin (from http://www.cygwin.com) and the following packages
installed via the Cygwin setup program:

 - gcc
 - make
 - flex
 - bison
 - binutils
 - libgd-devel

From the top level directory, run the configure script and then make:

  $ ./configure
  $ make
  $ make check
  $ make install


Other Unix-like Platforms
-------------------------

You will need:

 - flex, bison and gcc installed
 - GD >= 2.0.22 libs installed (libgd-devel)
 - GD's dependencies, which are dependent on how it was configured, but
    will typically be a subset of the following:
      libpng libz libfreetype libm
 - GNU make

GD can be obtained from http://www.libgd.org/ and will need to be downloaded
and installed, or a package, such as an RPM maybe used instead.
For RedHat and SuSE, the package gd-devel should be installed, which will
normally cause any dependent libraries to also be installed.

From the top level directory, run the configure script and then make:

  $ ./configure
  $ make
  $ make check
  $ sudo make install


Bugs
====

An issue tracker is available at the following location:

  http://code.google.com/p/mscgen/issues/list

You may also email me directly at Michael.McTernan.2001@cs.bris.ac.uk.


Updates
=======

A release announcement mailing list for new releases is available at the
following location:

  http://groups.google.com/group/mscgen-announce

LICENCE
=======

Mscgen, Copyright (C) 2007 Michael C McTernan,
                      Michael.McTernan.2001@cs.bris.ac.uk
Mscgen comes with ABSOLUTELY NO WARRANTY.  Mscgen is free software, and you 
are welcome to redistribute it under certain conditions; see the COPYING
file for details.

PNG rendering support is provided by libgd, www.libgd.org; see the COPYING.gd
file for full credits.

END OF FILE
