© 1998 IRISA / INRIA - University of Rennes 1 Version 1.194

Tempo Specializer - Installation Manual



MAIN  TUTOR  USER  REF  INSTALL  FAQ  LIMIT  BUGS  SUPPORT  SML  SUIF  DEMO  CONTRIB

The Tempo Specializer system

Tempo is an partial evaluator for C programs. The system consists of:


Requirements

The following tools must be installed on the machine for doing runtime specialization:

No special tool is required for compile-time specialization, except a C/C++ compiler.


Available Platforms

The system currently runs on the following platforms:

It must be noted though that the system performs poorly on PC/Linux as we are using a very old and inefficient version of New Jersey SML. However, only analysis and post-processing are affected, not compile-time nor run-time specialization themselves.


Content

The distribution for, e.g., SunOS 4 contains the following directories.

where ARCH and MACHINE are among one of the following couples.

ARCHMACHINE
SunOS-4 sparc-sun-sunos4
SunOS-5 sparc-sun-sunos4
Linux-2 i386-linux

There is no special reason why there are two different names for the same thing, just history of existing systems...


Installation Procedure

The distribution files are named tempoN.NNN_ARCH.tar.gz. There is one such file for each ARCH platform:

Each distribution contains all the required files. In order to install Tempo for different platforms at the same time, follow the installation procedure starting from the same root directory; appropriate sub-directories will be created.

The installation process is as follows:

  1. Choose the location of your installation:
    mv tempoN.NNN_ARCH.tar.gz INSTALL_DIR
    cd INSTALL_DIR
  2. Extract the distribution:
    gunzip tempoN.NNN_ARCH.tar.gz
    tar xf tempoN.NNN_ARCH.tar
  3. Add INSTALL_DIR/tempo/bin to your path.

  4. Modify the tempo script in the directory INSTALL_DIR/tempo/bin so that SML_PATH specifies the path used to invoke SML. This should include both the directory containing SML and the SML command itself, not just the directory.

You can now start Tempo by running the command tempo.

To view the color annotated files produced by Tempo under certain versions of Emacs (19.34 and potentially other versions including XEmacs, see the detailed section for more details), it is necessary to load the format-patch elisp file from the .emacs file: