3.2.13 Auxiliary Output Control
- Causes GNAT to write the internal tree for a unit to a file (with the
This not normally required, but is used by separate analysis tools.
these tools do the necessary compilations automatically, so you should
not have to specify this switch in normal operation.
- Print a list of units required by this compilation on stdout.
The listing includes all units on which the unit being compiled depends
either directly or indirectly.
- If this switch is not used, the exit code returned by gcc when
compiling multiple files indicates whether all source files have
been successfully used to generate object files or not.
When -pass-exit-codes is used, gcc exits with an extended
exit status and allows an integrated development environment to better
react to a compilation failure. Those exit status are:
- There was an error in at least one source file.
- At least one source file did not generate an object file.
- The compiler died unexpectedly (internal error for example).
- An object file has been generated for every source file.