| [Top] | [Contents] | [Index] | [ ? ] |
GNAT Pro User's Guide
The GNAT Pro Ada Compiler
GNAT Pro Version 6.3.0w
Document revision level 150311
Date: 2009/06/27
AdaCore
Copyright (C) 1995-2008, 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 Pro 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 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 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 Text_IOSuggestions7.3 Reducing Size of Ada Executables with gnatelim7.4 Reducing Size of Executables with Unused Subprogram/Data Elimination Performance Considerations
Reducing Size of Ada Executables with gnatelim
7.3.1 About gnatelim7.3.2 Running gnatelim7.3.3 Correcting the List of Eliminate Pragmas 7.3.4 Making Your Executables Smaller 7.3.5 Summary of the gnatelim Usage Cycle Reducing Size of Executables with unused subprogram/data elimination
7.4.1 About unused subprogram/data elimination 7.4.2 Compilation options 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 Preprocessing Symbols 16.2 Using gnatprep16.3 Switches for gnatprep16.4 Form of Definitions File 16.5 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 gnatcleanGNAT 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 gnatmemToolStack Related Facilities
22.1 Stack Overflow Checking 22.2 Static Stack Usage Analysis 22.3 Dynamic Stack Usage Analysis Some 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 gnatmemUsageVerifying Properties Using gnatcheck
Sample Bodies Using gnatstub
24.1 Running gnatstub24.2 Switches for gnatstubOther Utility Programs
26.1 Using Other Utility Programs with GNAT 26.2 The External Symbol Naming Scheme of GNAT 26.3 Converting Ada Files to HTML with gnathtmlCode Coverage and Profiling
27.1 Code Coverage of Ada Programs using gcov 27.2 Profiling an Ada Program using gprof Running and Debugging Ada Programs
Platform-Specific Information for the Run-Time Libraries
Example of Binder Output File Elaboration Order Handling in GNAT
Conditional Compilation
D.1 Use of Boolean Constants D.2 Debugging - A Special Case D.3 Conditionalizing Declarations D.4 Use of Alternative Implementations D.5 Preprocessing Inline Assembler
Compatibility and Porting Guide
Microsoft Windows Topics
Index