Previous: Order of Compilation Issues, Up: Compiling Using gcc
The following are some typical Ada compilation command line examples:
$ gcc -c xyz.adb
$ gcc -c -O2 -gnata xyz-def.adb
Assert
/Debug
statements
enabled.
$ gcc -c -gnatc abc-def.adb