Next: Language Extensions
Up: RATTY
Previous: RATTY
The command is:
% ratty [-s system] [-I incdir] [-D symbol] [-b] [-?] input output
``Input'' is a text file containing a mildly extended FORTRAN, whereas
``output'' is the resultant standard (?) code. The default input and
output are the standard input and standard output. A few command line
flags are also recognized.
- -s
- The string following this flag indicates the target compiler.
RATTY performs some special processing for the following
compilers:
- vms
- VAX/VMS FORTRAN compiler.
- cft
- Cray FORTRAN compiler for both CTSS and COS.
- f77
- UNIX FORTRAN-77 compiler.
- convex
- Convex C-1 compiler.
- fx
- Alliants compiler.
- trace
- Multiflow Trace computers.
- sun
- Sun computers.
RATTY assumes that target compilers other than these are strict FORTRAN-77
compilers.
- -I
- The string following this flag indicates an alternate directory to
search for include files. The -I flag can occur several times, giving several
directories. When opening include files, first the current directory is
check, and then each directory given by the -I flag is check in the order
in which they appeared on the command line.
- -D
- The name following this flag is treated as if it appeared in a
#define statement. Note that unlike the cc compiler, a space is required
between the -D and the name.
- -b
- If this flag is given, every backslash in the input is converted to
two backslashes in the output. This is useful when the target compiler
treats backslash as an ``escape character'' (i.e. several UNIX FORTRAN
compilers).
- ?
- This causes some help (on using ratty) to be printed.
Next: Language Extensions
Up: RATTY
Previous: RATTY
Last generated by rsault@atnf.csiro.au on 14 Mar 1996