9.2. Switches for gnatls

gnatls recognizes the following switches:

-a

Consider all units, including those of the predefined Ada library. Especially useful with -d.

-d

List sources from which specified units depend on.

-h

Output the list of options.

-o

Only output information about object files.

-s

Only output information about source files.

-u

Only output information about compilation units.

-aOdir, -aIdir, -Idir, -I-

Source and Object path manipulation. Same meaning as the equivalent gnatmake flags. See Section 4.2

-v

Verbose mode. Output the complete source and object paths. Do not use the default column layout but instead use long format giving as much as information possible on each requested units, including special characteristics such as:

Preelaborable

The unit is preelaborable in the Ada 95 sense.

No_Elab_Code

No elaboration code has been produced by the compiler for this unit.

Pure

The unit is pure in the Ada 95 sense.

Elaborate_Body

The unit contains a pragma Elaborate_Body.

Remote_Types

The unit contains a pragma Remote_Types.

Shared_Passive

The unit contains a pragma Shared_Passive.

Predefined

This Unit is part of the predefined environment and cannot be modified by the user.

Remote_Call_Interface

The unit contains a pragma Remote_Call_Interface.