Previous: Generating Bindings for C++ Headers, Up: Generating Ada Bindings for C and C++ headers


3.11.4.3 Switches

-fdump-ada-spec
Generate Ada spec files for the given header files transitively (including all header files that these headers depend upon).

-fdump-ada-spec-slim
Generate Ada spec files for the header files specified on the command line only.

-fada-spec-parent=`unit'
Specifies that all files generated by `-fdump-ada-spec*' are to be child units of the specified parent unit.

-C
Extract comments from headers and generate Ada comments in the Ada spec files.