Next: Correcting the List of Eliminate Pragmas, Previous: Preparing Tree and Bind Files for gnatelim, Up: Reducing the Size of Ada Executables with gnatelim
gnatelim
gnatelim
has the following command-line interface:
$ gnatelim [options] name
name
should be a full expanded Ada name of a main subprogram
of a program (partition).
gnatelim
options:
-q
gnatelim
generates to the standard error
stream a trace of the source file names of the compilation units being
processed. This option turns this trace off.
-v
gnatelim
version information is printed as Ada
comments to the standard output stream.
-a
-m
-T
dir-b
bind_file-d
xGnatelim.Options
unit in the compiler
source file gnatelim-options.adb.
gnatelim
sends its output to the standard output stream, and all the
tracing and debug information is sent to the standard error stream.
In order to produce a proper GNAT configuration file
gnat.adc, redirection must be used:
$ gnatelim Main_Prog > gnat.adc
or
$ gnatelim Main_Prog >> gnat.adc
In order to append the gnatelim
output to the existing contents of
gnat.adc.