INSTALLATION
------------

This file describes how to install the SimulaTools package.


Requirements
------------

To use these programs and packages, you need the following:

  * A Simula compiler, either

    - Lund Simula, a commercial Simula compiler from Lund Software 
      House AB, Lund, Sweden.  For more information, contact
      boris@dna.lth.se.

    - CIM, a free Simula-to-C compiler developed at the Department 
      of informatics, University of Oslo. For information, contact
      cim@ifi.uio.no.

  * A C compiler. We used the standard `cc' supplied with most UNIXs,
    but most C compilers will probably do.

  * A Perl interpreter.

  * `gmake' (GNU's version of `make'). Some other `make's will also work,
    but not all.


Which compiler?
---------------

The package is supplied with two sub-directories `lund' and `cim' for the Lund and Cim compilers, respectively.

If yoy do not have both compilers, delete the directory that you won't use. 


Libraries
---------

To make the libraries containg the package binaries and ATR-files, do
the following:

1) Decide where you want to put the libraries, and modify the
definition of SIM_LIB in sun/Makefile and/or cim/Make accordingly; the
default is /local/lib/simula (for the Lund compiler) and
/local/lib/cim (for the Cim compiler).  

2) The Makefiles use GNU's `make' and `test' programs; you may have to
modifiy the definition of how to find them.

3) Say

	gmake install


Further installation
--------------------

If you want to use our compiler interface `sc', you may need to adapt
it slightly. At the start of that program file (which is a Perl
script) you will find definitions of which programs to use for
assmbling, linking, etc. A bit further down you will find the various
library definitions; modify those according to the choice you made
earlier.



24.8.1995
Dag F. Langmyhr (dag@ifi.uio.no)
