The following are some typical Ada compilation command line examples:
$ gcc -c xyz.adb
xyz.adb
with all default options.
$ gcc -c -O2 -gnata xyz-def.adb
xyz-def.adb
with extensive
optimizations, and pragma Assert
/Debug
statements
enabled.
$ gcc -c -gnatc abc-def.adb
abc-def.adb
in semantic-checking-only
mode.