The gnatprep utility provides a simple preprocessing capability for Ada programs. It is designed for use with ERC32 Ada, but is not dependent on any special features of ERC32 Ada.
To call gnatprep use
$ erc-coff-gnatprep infile outfile deffile switches
is the full name of the input file, which is an Ada source file containing preprocessor directives.
is the full name of the output file, which is an Ada source in standard Ada form. When used with ERC32 Ada, this file name will normally have an ads or adb suffix.
is the full name of a text file containing definitions of symbols to be referenced by the preprocessor.
is an optional sequence of switches as described in the next section