			How to install DDKLIC


Installation
============

Before installing DDKLIC, make sure that KLIC 3.00x is installed on
your system.  If KLIC is not installed or KLIC version is older than
3.001, I recommend you to install KLIC-3.002.


Configuration
-------------

First thing to do in installation of DDKLIC is to configure the script
`bin/ddklic'.  Go to the root directory of the distribution (referred
to as ROOT in what follows).  Please edit the shell script
`ROOT/bin/ddklic` as follows.

	INSTDIR=$HOME/AITEC/H9-11
	    ==>
	INSTDIR=ROOT    # ROOT is the root directory of the distribution


Compiling the KLIC system
-------------------------

After configuring the shell script, typing in `make all' should
compile the whole DDKLIC system, including the KL1 to C compiler and
an analyzer ION, and some useful programs.


Testing
-------

After system compilation is finished, you are recommended to test
whether the compilation went without problems.  To do that, type in
`make tests' in the root directory of the distribution (not in its
subdirectory `test').  This will compile and run several KL1 test
programs.  Benchmark results are reported in a LaTeX file
`ROOT/test/result/Plot.tex'.


Cleaning Up the Installation Directory
--------------------------------------

After installation and testing has been done, typing in `make clean'
will delete all the files which are not need to use this system
(kl1cmp, ion, benchmark results are not deleted).  Typing in `make
distclean' will delete all the files *not* included in the
distribution.

