[Up] [Contents] [Index] [Summary]

6.5.1 The Runtime Emulator

The sources may be used to built two versions of the emulator. By default, the development emulator is built. This emulator contains all features for interactive development of Prolog applications. If the system is configured using --enable-runtime, make(1) will create a runtime version of the emulator. This emulator is equivalent to the development version, except for the following features:

The following fragment is an example for building the runtime environment in HOME/lib/rt-pl-2.1.4. If possible, the shared-library interface should be configured to ensure it can serve a large number of applications.

% cd pl-2.1.4 % mkdir runtime % cd runtime % ../src/configure --enable-runtime --prefix=$HOME % make % make rt-install

The runtime directory contains the components listed below. This directory may be tar'ed and shipped with your application.

README.RTInfo on the runtime environment
bin/plThe emulator itself
bin/chplThe utility to change the runtime
man/chpl.1Manual page for chpl
man/pl.1Manual page for pl
swiplpointer to the home directory (.)
lib/directory for shared libraries
lib/<arch>/machine-specific shared libraries