Date: Mon, 02 Dec 1996 15:21:13 GMT Server: NCSA/1.4.2 Content-type: text/html
This document describes the requirements and process for setting up a ZPL compiler partial installation on a single processor UNIX syste,. It is assumed that you are familiar with the ZPL Compilation Process. After you have completed the partial installation, you may compile ZPL source codes using the Remote ZPL Compiler (zcr).
The partial installation requires less that half an hour and fewer than 2 megabytes of disk space. The resource economy comes from the fact that the ZPL compiler itself is not included in the partial installation. Run-time libraries and configuration files are included, but in order to actually compile a ZPL program, you use a client stub to connect to the ZPL Net-Compiler server, which compiles the program for you. If you are not sure you want to invest the effort, check out the Web-Compiler first.
You may perform the partial installation on any UNIX machine.
The process by which you may perform the partial installation on parallel machines will be described in another document (that does not yet exist).
Recall the two steps to the ZPL compilation process. First, from a ZPL source program, a collection of C files are generated. Then, the C files are compiled and linked with machine dependent and independent run-time libraries to produce an executable program. The partial installation primarily supports the second step. The installation includes all the run-time libraries and configuration files that select the appropriate compiler, compiler flags, etc.
This section describes how to create a partial installation on your hardware. It is assumed that you are installing on a machine that is currently supported (otherwise, you may want to consider undertaking the port; see the Porting the ZPL System document). The installation process involves creating the ZPL project directory hierarchy (typically in /usr/local/zpl, though it can be anywhere). This is achieved in two steps: (1) FTP a tar file for, and (2) compile and link the run-time libraries.
FTP the following compressed tar file.
Uncompress and untar this file in the ZPL project directory (e.g., /usr/local/zpl). E.g.,
zcat home.seq.tar.Z | tar -xvf -
The first step in compiling the run-time libraries is to set the ZPLTARGET environment variable to indicate that you want to compile for a sequential UNIX workstation.
setenv ZPLTARGET seq
To actually build the libraries, move into the directory where you untarred the file and type the following.
cd home/src zmake all cd seq zmake allThat's it. You are all set to use the remote ZPL compiler.
See the Using the Remote ZPL Compiler page for an introduction to zcr.