Next: Notes on the Command Line, Previous: Switches for gnatmake, Up: The GNAT Make Program gnatmake
gnatmake
The mode switches (referred to as mode_switches
) allow the
inclusion of switches that are to be passed to the compiler itself, the
binder or the linker. The effect of a mode switch is to cause all
subsequent switches up to the end of the switch list, or up to the next
mode switch, to be interpreted as switches to be passed on to the
designated component of GNAT.
gcc
. They will be passed on to
all compile steps performed by gnatmake
.
gnatbind
. They will be passed on to
all bind steps performed by gnatmake
.
gnatlink
. They will be passed on to
all link steps performed by gnatmake
.
gnatmake
,
regardless of any previous occurrence of -cargs, -bargs
or -largs.