Java Compiler and Developers Kit.
The ADL 2 compilers require the Java Developer's Kit (JDK) version 1.1 to be installed on your system.
The Java Developer's Kit may be downloaded from http://java.sun.com.
Note: ADL can be compiled with a more recent version of JDK than v1.1, but the classes.zip files from the JDK1.1 must be visible to ADL through the CLASSPATH environent variable.
The ADL 2 compilers require that the Objectspace's JGL library is installed on your system. Version 3.1.0 of this library is provided in the ADL 2 distribution. See lib/jgl/COPYRIGHT.TXT and lib/jgl/LICENSE.TXT for copyright and licensing issues regarding this library.
If you chose to build the ADL compilers from the Full source release (not necessary if you install the Part-compiled version) then you will need the jjtree and javacc tools from Metamata (now WebGain).
To build the C++ runtime environment you need to have access to a C++ compiler. We have successfully built the C++ runtime environment with the Gnu C++ compiler, version 2.7.2 and with Sun's C++ compiler, version 4.2. Egcs 1.0.1 has also been used successfully to build the runtime library though some strange problems occur later during test execution when catching an unknown exception.
In addition, to be able to use the ADL 2 C++ compiler, you need to have an ANSI C preprocessor installed on your system.
To compile the C++ examples you need to have a C++ compiler installed on your system. Be sure to use the same compiler as the one used to build the runtime environment.
To build the C runtime environment you need to have access to a C compiler. Any ANSI compliant C compiler will do. We have successfully built the C runtime environment with the Gnu C compiler, version 2.7.2.
In addition, to be able to use the ADL 2 C compiler, you need to have an ANSI C preprocessor installed on your system.
To compile the C examples you need to have a C compiler installed on your system. Be sure to use the same compiler as the one used to build the runtime environment.
TET and JETPack
Tests built using the ADL 2 Translation System are driven by the Test Execution Toolkit (TET) test harness. TET is therefore required to build the ADL 2 runtime environment and to operate any ADL2 generated test. Java tests further requires the installation of the Java Enhanced TET package (JETPack). Both these packages can be obtained from http://tetworks.opengroup.org/.
To be able to generate the documentation associated to your ADL specification and test definitions, you need to install a Prolog interpreter and make it known to the compiler. If you don't have one available, the easiest is certainly to get the one provided for the ADL 2 Translation System in adl2.1-prolog.tar.gz and unpack this archive where you unpacked the ADL 2 Translation System archive before you start building or installing it.
If you already have a Prolog interpreter available, be sure its prompt is what ADL 2 expects, that is '?- '. Then, make it known to the ADL 2 Translation System by defining the 'adl.prolog' property in the $ADL2HOME/Adlt.rc file (see 8 in section 'Installing the ADL 2 Translation System').
Gzip and tar
The ADL Translation System, version 2.1 is packaged as a compressed tar archive. In order to unpack the distribution, you will need 'gunzip' and 'tar' utilities; if these are unavailable to you, please contact us to arrange for delivery in a different format.