Navigation: Previous   Up   Next

2.2 Description

nagfor is the interface to the NAG Fortran Compiler system. The compiler translates programs written in Fortran into executable programs, relocatable binary modules, assembler source files or C source files.

The mode determines the action performed, and can be one of

=C Compile (and/or link) C source files, acting as the companion processor; this passes options to the C compiler that are suitable for the ABI and/or compatibility mode options specified, and differs from the =compiler mode in that it does not set NAG-specific macro definitions or alter the #include file search path to include the compiler library directory.
=compiler Compile (and/or link) the files; this is the default mode if none is specified.
=callgraph Produce a callgraph of the Fortran routines in the files (see the Producing a Call Graph section).
=depend Produce a dependency analysis of the Fortran files (see the Dependency Analysis section).
=epolish Pretty-print (polish) the Fortran files using the Enhanced Polisher (see the Enhanced Source File Polishing section).
=interfaces Produce a module or INCLUDE file containing procedure interfaces (see the Generating Interfaces section).
=polish Pretty-print (polish) the Fortran files (see the Source File Polishing section).
=unifyprecision Unify the precision of floating-point and complex entities in the files (see the Unifying Precision section).

Options that do not apply to the current mode of operation (e.g. polish options when the mode is for compilation) are ignored.