www.delorie.com/gnu/docs/gcc/gnat_ug_69.html   search  
 
Buy the book!


Untitled Document

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.9 Summary of Binder Switches

The following are the switches available with gnatbind:

^-aO^/OBJECT_SEARCH^
Specify directory to be searched for ALI files.

^-aI^/SOURCE_SEARCH^
Specify directory to be searched for source file.

^-A^/BIND_FILE=ADA^
Generate binder program in Ada (default)

^-b^/REPORT_ERRORS=BRIEF^
Generate brief messages to `stderr' even if verbose mode set.

^-c^/NOOUTPUT^
Check only, no generation of binder output file.

^-C^/BIND_FILE=C^
Generate binder program in C

^-e^/ELABORATION_DEPENDENCIES^
Output complete list of elaboration-order dependencies.

-E
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 and GNAT.Traceback.Symbolic for more information. Note that on x86 ports, you must not use -fomit-frame-pointer gcc option.

-h
Output usage (help) information

^-I^/SEARCH^
Specify directory to be searched for source and ALI files.

^-I-^/NOCURRENT_DIRECTORY^
Do not look for sources in the current directory where gnatbind was invoked, and do not look for ALI files in the directory containing the ALI file named in the gnatbind command line.

^-l^/ORDER_OF_ELABORATION^
Output chosen elaboration order.

-Lxxx
Binds the units for library building. In this case the adainit and adafinal procedures (See see section 4.7 Binding with Non-Ada Main Programs) are renamed to xxxinit and xxxfinal. Implies -n. See see section 16. GNAT and Libraries for more details.

-Mxyz
Rename generated main program from main to xyz

^-m^/ERROR_LIMIT=^n
Limit number of detected errors to n (1-999).

^-n^/NOMAIN^
No main program.

-nostdinc
Do not look for sources in the system default directory.

-nostdlib
Do not look for library files in the system default directory.

--RTS=rts-path
Specifies the default location of the runtime library. Same meaning as the equivalent gnatmake flag (see 6.2 Switches for gnatmake).

^-o ^/OUTPUT=^file
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.

^-O^/OBJECT_LIST^
Output object list.

-p
Pessimistic (worst-case) elaboration order

^-s^/READ_SOURCES=ALL^
Require all source files to be present.

-static
Link against a static GNAT run time.

-shared
Link against a shared GNAT run time when available.

^-t^/NOTIME_STAMP_CHECK^
Tolerate time stamp and other consistency errors

-Tn
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.

^-v^/REPORT_ERRORS=VERBOSE^
Verbose mode. Write error messages, header, summary output to `stdout'.

-wx
Warning mode (x=s/e for suppress/treat as error)

^-x^/READ_SOURCES=NONE^
Exclude source files (check object consistency only).

^-z^/ZERO_MAIN^
No main subprogram.

You may obtain this listing by running the program gnatbind with no arguments.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003