[Top] | [Contents] | [Index] | [ ? ] |
GNAT User's Guide
GNAT, The GNU Ada 95 Compiler
GNAT Version 3.12p
Date: $Date: 1999/06/28 18:09:34 $
Ada Core Technologies, Inc.
(C) Copyright 1995-1999, Ada Core Technologies, Inc.
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Silicon Graphics and IRIS are registered trademarks and IRIX is a trademark of Silicon Graphics, Inc.
IBM PC is a trademark of International Business Machines Corporation.
UNIX is a registered trademark of AT&T Bell Laboratories.
The following are trademarks of Compaq Computers: DEC, DEC Ada, DECthreads, DIGITAL, DECset, OpenVMS, and VAX.
The following are trademarks of Microsoft Corporation: Windows NT, Windows 95, Windows 98.
The following are trademarks of Wind River Systems: VxWorks, Tornado.
-- The Detailed Node Listing ---
About This Guide
What This Guide Contains What You Should Know Before Reading This Guide Related Information Conventions
Getting Started With GNAT
1.1 Running GNAT 1.2 Running a Simple Ada Program 1.3 Running a Program With Multiple Units 1.4 Using the gnatmake
Utility
The GNAT Compilation Model
Foreign Language Representation
2.2.1 Latin-1 2.2.2 Other 8-Bit Codes 2.2.3 Wide Character Encodings
Compiling Ada Programs With gnatgcc
3.1 Compiling Programs 3.2 Switches for gnatgcc
3.3 Search Paths and the Run-Time Library (RTL) 3.4 Order of Compilation Issues 3.5 Examples
Switches for gnatgcc
Binding Ada Programs With gnatbind
Linking Using gnatlink
5.1 Running gnatlink
5.2 Switches for gnatlink
The GNAT Make Program gnatmake
6.1 Running gnatmake
6.2 Switches for gnatmake
6.3 Mode switches for gnatmake
6.4 Notes on the Command Line 6.5 How gnatmake
Works6.6 Examples of gnatmake
Usage6.7 Gnatmake in makefiles
Renaming Files Using gnatchop
7.1 Handling Files with Multiple Units 7.2 Operating gnatchop in Compilation Mode 7.3 Command Line for gnatchop
7.4 Switches for gnatchop
7.5 Examples of gnatchop
Usage
Configuration Pragmas
8.1 Handling of Configuration Pragmas 8.2 The Configuration Pragmas file
Elaboration Order Handling in GNAT
The cross-referencing tools gnatxref and gnatfind
10.1 Gnatxref switches 10.2 Gnatfind switches 10.3 Project files 10.4 Regular expressions in gnatfind and gnatxref 10.5 Examples of gnatxref
usage10.6 Examples of gnatfind
usage
File Name Krunching Using gnatkr
11.1 About gnatkr
11.2 Using gnatkr
11.3 Krunching Method 11.4 Examples of gnatkr
Usage
Preprocessing Using gnatprep
12.1 Using gnatprep
12.2 Switches for gnatprep
12.3 Form of definitions file 12.4 Form of input text for gnatprep
The GNAT library browser gnatls
13.1 Running gnatls
13.2 Switches for gnatls
13.3 Example of gnatls
Usage
Rebuilding the GNAT Library::
Finding memory problems with gnatmem
15.1 Running gnatmem
15.2 Switches for gnatmem
15.3 Example of gnatmem
Usage15.4 Implementation note
ASIS-Based Tools
16.1 The ASIS Implementation for GNAT (ASIS-for-GNAT) 16.2 Tree Files
Creating Sample Bodies Using gnatstub
17.1 Running gnatstub
17.2 Switches for gnatstub
Minimizing Executables for Ada Programs Using gnatelim
Other Utility Programs
Running and Debugging Ada Programs
Performance Considerations
21.1 Controlling Run-time Checks 21.2 Optimization Levels 21.3 Inlining of Subprograms
Index