4.9 Summary of Binder Switches
The following are the switches available with
- Specify directory to be searched for ALI files.
- Specify directory to be searched for source file.
- Generate binder program in Ada (default)
- Generate brief messages to stderr even if verbose mode set.
- Check only, no generation of binder output file.
- Generate binder program in C
- Output complete list of elaboration-order dependencies.
- Store tracebacks in exception occurrences when the target supports it.
This is the default with the zero cost exception mechanism.
This option is currently supported on the following targets:
all x86 ports, Solaris, Windows, HP-UX, AIX, PowerPC VxWorks and Alpha VxWorks.
See also the packages
GNAT.Traceback.Symbolic for more information.
Note that on x86 ports, you must not use
- Output usage (help) information
- Specify directory to be searched for source and ALI files.
- Do not look for sources in the current directory where
invoked, and do not look for ALI files in the directory containing the
ALI file named in the
gnatbind command line.
- Output chosen elaboration order.
- Binds the units for library building. In this case the adainit and
adafinal procedures (See see Binding with Non-Ada Main Programs)
are renamed to xxxinit and xxxfinal. Implies -n.
See see GNAT and Libraries for more details.
- Rename generated main program from main to xyz
- Limit number of detected errors to n (1-999).
- No main program.
- Do not look for sources in the system default directory.
- Do not look for library files in the system default directory.
- Specifies the default location of the runtime library. Same meaning as the
gnatmake flag (see Switches for gnatmake).
- Name the output file file (default is b~xxx.adb).
Note that if this option is used, then linking must be done manually,
gnatlink cannot be used.
- Output object list.
- Pessimistic (worst-case) elaboration order
- Require all source files to be present.
- Link against a static GNAT run time.
- Link against a shared GNAT run time when available.
- Tolerate time stamp and other consistency errors
- Set the time slice value to n microseconds. A value of zero means no time
slicing and also indicates to the tasking run time to match as close as
possible to the annex D requirements of the RM.
- Verbose mode. Write error messages, header, summary output to
- Warning mode (x=s/e for suppress/treat as error)
- Exclude source files (check object consistency only).
- No main subprogram.
You may obtain this listing by running the program