www.delorie.com/gnu/docs/gcc/gnat_ug_173.html   search  
 
Buy the book!


Untitled Document

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

14.1 Using gnatprep

To call gnatprep use

 
$ gnatprep [-bcrsu] [-Dsymbol=value] infile outfile [deffile]

where

infile
is the full name of the input file, which is an Ada source file containing preprocessor directives.

outfile
is the full name of the output file, which is an Ada source in standard Ada form. When used with GNAT, this file name will normally have an ads or adb suffix.

deffile
is the full name of a text file containing definitions of symbols to be referenced by the preprocessor. This argument is optional, and can be replaced by the use of the -D switch.

switches
is an optional sequence of switches as described in the next section.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003