HANDBOOK / GETTING STARTED /

# Installation

Gentle runs on various platforms, including Unix, DOS, and Windows 95. For Unix systems, Gentle is distributed as a compressed tar file `gentle-97.tar.gz` . To unpack the system, type

       gunzip gentle-97.tar.gz
       tar -xvf gentle-97.tar

This creates a directory `gentle-97` with subdirectories `gentle`, `lib`, `reflex`, and `examples`.

Go to directory `gentle` and type

       build

This creates the executable program `gentle`, the Gentle compiler, as well as the object file `grts.o`, the Gentle run time system.

Go to directory `lib` and type

       build

This compiles the modules of the user library.

Go to directory `reflex` and type

       build

This creates the executable program `reflex`, a generator for Lex specifications.

To test the installation, go to directory `examples/calc` and type

       build

This creates a simple desk calculator.