[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This guide describes the use of GNAT, a compiler and software development toolset for the full Ada 95 programming language. It describes the features of the compiler and tools, and details how to use them to build Ada 95 applications.
What This Guide Contains What You Should Know before Reading This Guide Related Information Conventions
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This guide contains the following chapters:
gcc
, describes how to compile
Ada programs with gcc
, the Ada compiler.
gnatbind
, describes how to
perform binding of Ada programs with gnatbind
, the GNAT binding
utility.
gnatlink
,
describes gnatlink
, a
program that provides for linking using the GNAT run-time library to
construct a program. gnatlink
can also incorporate foreign language
object units into the executable.
gnatmake
, describes gnatmake
, a
utility that automatically determines the set of sources
needed by an Ada compilation unit, and executes the necessary compilations
binding and link.
gnatelim
tool.
gnatchop
, describes
gnatchop
, a utility that allows you to preprocess a file that
contains Ada source code, and split it into one or more new files, one
for each compilation unit.
gnatname
,
shows how to override the default GNAT file naming conventions,
either for an individual unit or globally.
gnatxref
and gnatfind
, discusses
gnatxref
and gnatfind
, two tools that provide an easy
way to navigate through sources.
gnatpp
, shows how to produce a reformatted
version of an Ada source file with control over casing, indentation,
comment placement, and other elements of program presentation style.
gnatmetric
, shows how to compute various
metrics for an Ada source file, such as the number of types and subprograms,
and assorted complexity measures.
gnatkr
, describes the gnatkr
file name krunching utility, used to handle shortened
file names on operating systems with a limit on the length of names.
gnatprep
, describes gnatprep
, a
preprocessor utility that allows a single source file to be used to
generate multiple or parameterized source files, by means of macro
substitution.
gnatls
, describes gnatls
, a
utility that displays information about compiled units, including dependences
on the corresponding sources files, and consistency of compilations.
gnatclean
, describes gnatclean
, a utility
to delete files that are produced by the compiler, binder and linker.
make
Utility, describes some techniques for using
the GNAT toolset in Makefiles.
gnatmem
, a utility that monitors dynamic
allocation and deallocation and helps detect "memory leaks".
gnatstub
, discusses gnatstub
,
a utility that generates empty but compilable bodies for library units.
gnathtml
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This user's guide assumes that you are familiar with Ada 95 language, as described in the International Standard ANSI/ISO/IEC-8652:1995, January 1995.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For further information about related tools, refer to the following documents:
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Following are examples of the typographical and graphic conventions used in this guide:
Functions
, utility program names
, standard names
,
and classes
.
and then shown this way. |
Commands that are entered by the user are preceded in this manual by the
characters "$
" (dollar sign followed by space). If your system
uses this sequence as a prompt, then the commands will appear exactly as
you see them in the manual. If your system uses some other prompt, then
the command will appear with the $
replaced by whatever prompt
character you are using.
Full file names are shown with the "/
" character
as the directory separator; e.g., `parent-dir/subdir/myfile.adb'.
If you are using GNAT on a Windows platform, please note that
the "\
" character should be used instead.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |