| [Top] | [Contents] | [Index] | [ ? ] |
GNAT User's Guide
The GNAT Ada 95 Compiler
GNAT Academic Edition, Version 2005
Document revision level 1.265
Date: 2005/05/19 14:36:38
AdaCore
Copyright (C) 1995-2005, Free Software Foundation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being "GNU Free Documentation License", with the Front-Cover Texts being "GNAT User's Guide", and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
-- 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 gnatmakeUtility1.5 Introduction to GPS 1.6 Introduction to Glide and GVD 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 gcc
3.1 Compiling Programs 3.2 Switches for gcc3.3 Search Paths and the Run-Time Library (RTL) 3.4 Order of Compilation Issues 3.5 Examples Switches for gcc
Binding Ada Programs With gnatbind
4.1 Running gnatbind4.2 Switches for gnatbind4.3 Command-Line Access 4.4 Search Paths for gnatbind4.5 Examples of gnatbindUsageSwitches for gnatbind
Linking Using gnatlink
5.1 Running gnatlink5.2 Switches for gnatlink5.3 Setting Stack Size from gnatlink5.4 Setting Heap Size from gnatlinkThe GNAT Make Program gnatmake
6.1 Running gnatmake6.2 Switches for gnatmake6.3 Mode Switches for gnatmake6.4 Notes on the Command Line 6.5 How gnatmakeWorks6.6 Examples of gnatmakeUsageImproving Performance
7.1 Performance Considerations 7.2 Reducing the Size of Ada Executables with gnatelimPerformance Considerations
7.1.1 Controlling Run-Time Checks 7.1.2 Use of Restrictions 7.1.3 Optimization Levels 7.1.4 Debugging Optimized Code 7.1.5 Inlining of Subprograms 7.1.6 Optimization and Strict Aliasing Reducing the Size of Ada Executables with gnatelim
7.2.1 About gnatelim7.2.2 Running gnatelim7.2.3 Correcting the List of Eliminate Pragmas 7.2.4 Making Your Executables Smaller 7.2.5 Summary of the gnatelim Usage Cycle Renaming Files Using gnatchop
8.1 Handling Files with Multiple Units 8.2 Operating gnatchop in Compilation Mode 8.3 Command Line for gnatchop8.4 Switches for gnatchop8.5 Examples of gnatchopUsageConfiguration Pragmas
9.1 Handling of Configuration Pragmas 9.2 The Configuration Pragmas Files Handling Arbitrary File Naming Conventions Using gnatname
10.1 Arbitrary File Naming Conventions 10.2 Running gnatname10.3 Switches for gnatname10.4 Examples of gnatnameUsageGNAT Project Manager
The Cross-Referencing Tools gnatxref and gnatfind
The GNAT Pretty-Printer gnatpp
13.1 Switches for gnatpp13.2 Formatting Rules The GNAT Metrics Tool gnatmetric
14.1 Switches for gnatmetricFile Name Krunching Using gnatkr
15.1 About gnatkr15.2 Using gnatkr15.3 Krunching Method 15.4 Examples of gnatkrUsagePreprocessing Using gnatprep
16.1 Using gnatprep16.2 Switches for gnatprep16.3 Form of Definitions File 16.4 Form of Input Text for gnatprepThe GNAT Library Browser gnatls
17.1 Running gnatls17.2 Switches for gnatls17.3 Example of gnatlsUsageCleaning Up Using gnatclean
18.1 Running gnatclean18.2 Switches for gnatclean18.3 Examples of gnatcleanUsageGNAT and Libraries
19.1 Introduction to Libraries in GNAT 19.2 General Ada Libraries 19.3 Stand-alone Ada Libraries 19.4 Rebuilding the GNAT Run-Time Library Using the GNU make Utility
20.1 Using gnatmake in a Makefile 20.2 Automatically Creating a List of Directories 20.3 Generating the Command Line Switches 20.4 Overcoming Command Line Length Limits Memory Management Issues
21.1 Some Useful Memory Pools 21.2 The GNAT Debug Pool Facility 21.3 The gnatmemToolSome Useful Memory Pools The GNAT Debug Pool Facility The gnatmem Tool
21.3.1 Running gnatmem21.3.2 Switches for gnatmem21.3.3 Example of gnatmemUsageSample Bodies Using gnatstub
22.1 Running gnatstub22.2 Switches for gnatstubOther Utility Programs
23.1 Using Other Utility Programs with GNAT 23.2 The External Symbol Naming Scheme of GNAT 23.3 Ada Mode for Glide23.4 Converting Ada Files to HTML with gnathtmlRunning and Debugging Ada Programs
Platform-Specific Information for the Run-Time Libraries
Example of Binder Output File Elaboration Order Handling in GNAT
Inline Assembler
Compatibility and Porting Guide
E.1 Compatibility with Ada 83 E.2 Implementation-dependent characteristics E.5 Compatibility with DEC Ada 83 E.3 Compatibility with Other Ada 95 Systems E.4 Representation Clauses Microsoft Windows Topics
Index