This is the README file for the binary distribution of GNAT.
This directory contains the files needed for installing and running GNAT.
It includes the C compiler also.

INSTALLING

The quick way to install GNAT is to first run the script 'doconfig' contained
in this directory.  This will not modify any directories or files in your
system, but will create a file called 'doinstall'.  This is a script
containing the commands to actually do the installation according to the
configuration you choose when running 'doconfig'.  Run it to do the
installation.

USE

Using GNAT is documented in the gnat user's guide available in the
GNAT documentation package distributed separately.

EXPLANATION of installation

The installation script offers two possibilities (named 2 and 3 for
backward compatibility reasons):

  - option 2: Only relevant if you have root priviledges. This is the
    standard installation and is recommended for the production
    version of GNAT. The standard location for installing GNAT has
    changed compared to former versions in order to avoid clobbering a
    previously installed gcc version.

  - option 3: installation in a non standard location. This can be
    interesting in 2 cases: when one do not have root priviledges or
    when installing multiple versions of GNAT. In the past, installing
    GNAT in a non standard location would require the user to set some
    environment variables. This is not needed anymore thanks to a new
    installation scheme that uses a wrapper script setting up the
    necessary environment variables automatically.

EXAMPLES

The examples directory contains simple examples.
