The mode switches allow the inclusion of switches to be passed on to the compiler, binder or 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.
Compiler switches. Here switches is a list of switches that are valid switches for gcc. They will be passed on to all compile steps performed by gnatmake.
Binder switches. Here switches is a list of switches that are valid switches for gcc. They will be passed on to all bind steps performed by gnatmake.
Linker switches. Here switches is a list of switches that are valid switches for gcc. They will be passed on to all link steps performed by gnatmake.