Simulatools
-----------

These files contain a library developed and used at Ifi
(the Department of Informatics at the University of Oslo), in
particular the SetTools and WindowTools package. 


Compilation
-----------

The simplest way to compile this package is:

  1. `cd' to the directory containing the library's source code and 
     type `./configure' (or `CFLAGS=-O0 ./configure' when using GCC) 
     to configure the library for your system.

     Running `configure' takes awhile.  While running, it prints some
     messages telling which features it is checking for.

  2. Type `make' to compile the library.

  3. Type `make install' to install the library.

Further details can be found in the enclosed INSTALL file.


PROBLEMS when using GCC
------------------------

When using GCC you probably want to give `configure' the initial
value CFLAGS=-O0 to prevent GCC from running out of virtual memory.
This can be done by setting it in the environment.  Using a
Bourne-compatible shell, you can do that on the command line like
this:

     CFLAGS=-O0 ./configure

Or on systems that have the `env' program, you can do it like this:

     env CFLAGS=-O0 ./configure


Enable use of the Lund compiler
-------------------------------

Give `configure' the option `--enable-lund'.  On most systems 
you also need to give the option `--enable-assembly'.  Remember
to run `make distclean' if you previously compiled the library 
using Cim.  If you previously installed the library using Cim,
then you also may need to give `configure' the option 
`--prefix=PREFIX' or `--libdir=DIR' with an appropriate PREFIX 
or DIR, to prevent conflict with the previous installation.


BUGS
----

If you discover any bugs, please report them to `drift@ifi.uio.no'. We
will try to correct them, but make no promises.
