8.15;ftn (fortran), revision 8.15, 84/09/26
FTN (FORTRAN) -- Compile a FORTRAN program.
usage: FTN name [-NL|-L [file]] [-B [file]|-NB] [-NXREF|-XREF] [-OPT|-NOPT]
[-DB|-DBS|-DBA|-NDB] [-NEXP|-EXP]
[-I*4|-I*2] [-DYNM|-SAVE] [-NCOND|-COND]
[-NTYPE|-TYPE] [-NINDEXL|-INDEXL]
[-NZERO|-ZERO] [-NSUBCHK|-SUBCHK]
[-IDIR pathname] [-INLINE char]
[-CONFIG name1 name2...] [-CPU id]
[-NALIGN|-ALIGN]
FORMAT
FTN source_file [options]
FTN translates a FORTRAN source file into one or more binary object modules,
which can be executed or used as input to the binder. For complete
information, see the DOMAIN FORTRAN User's Guide.
ARGUMENTS
source_file
(required) Specify the source file to be compiled. The pathname must
have the suffix .FTN, but you need not specify this
component. If you specify the pathname without .FTN, the
compiler automatically appends .FTN before searching for
the file.
OPTIONS
Default options are indicated by "(D)."
-L [file] Generate compilation listing. If pathname is omitted, use
source_file.LST.
-NL (D) -NL Suppress compilation listing.
-B [file] (D) Generate binary file. If pathname is omitted, use
source_file.BIN.
-NB Suppress binary file.
-XREF Generate symbol table map and cross reference (implies -L).
-NXREF (D) Suppress symbol table map and cross reference.
-OPT (D) Perform global program optimization.
-NOPT Suppress global optimization.
-DB (D) Generate runtime debug line number table (for traceback).
-DBS Generate runtime debug symbol table and line number table.
-DBA Generate full debug information.
-NDB Suppress runtime debug tables.
-EXP Generate expanded code listing (implies -L).
-NEXP (D) Suppress expanded code listing.
-I*2 2-byte integer is default integer type.
-I*4 (D) 4-byte integer is default integer type.
-SAVE Allocate all local variables in static space.
-DYNM (D) Allocate local variables on stack if possible.
-COND Compile lines with D in column 1.
-NCOND (D) Ignore lines with D in column 1.
-TYPE Flag all variables and functions not explicitly typed.
-NTYPE (D) Suppress type checking.
-INDEXL Use 32 bit indexing on all common and dummy argument
arrays.
-NINDEXL (D) Indexing based on dimension information.
-ZERO Initialize static storage to zero.
-NZERO (D) No implicit initialization of static storage to zero.
-SUBCHK Subscript checking.
-NSUBCHK (D) Suppress subscript checking.
-IDIR pathname
Add a pathname to the search hierarchy of directories for
include file names. The hierarchy applies only to file
name strings which do NOT begin with '.', '~', or '/'. Up
to 63 -IDIR options may be given. The compiler first tries
to open the include file name as given. Failing that, it
pre-pends the -IDIR pathnames to the given file name in the
same order as supplied on the command line.
-INLINE char Select specified character ("char") as in-line comment
designator.
-CONFIG name1 name2...
Conditional processing: compile statements associated with
name1, name2, etc. via conditional compiler directives.
-PEB Generate inline code for Performance Enhancement Board.
Obsolete switch. Use -CPU PEB.
-NPEB (D) No inline code for Performance Enhancement Board. Obsolete
switch. Use -CPU ANY.
-CPU id Generate code for a particular class of processors. Values
for id are
ANY (D) Generate code which uses only the basic
instructions supported by the M68000.
160,460,660 Generate code which uses the additional
instructions supported by DNx60 and DSP160
processors.
PEB Generate code for a Performance Enhancement
Board.
-ALIGN (D) Makes program execute faster on DN460/660 nodes (increases
size of generated code slightly).
-NALIGN No longword alignment.
EXAMPLES
$ FTN graph.line -L Compile source file GRAPH.LINE.FTN
in the current working directory;
produce binary GRAPH.LINE.BIN and
list file GRAPH.LINE.LST, also in
current working directory.