Any input file name is valid. If the file name does not have
an extension, the extension .f
is assumed. As KAP
processes a Fortran file it generates three output files -
the optimized program file, the optional listing file, and the
executable file.
The default output file names are as follows:
<file>.cmp.f
- the optimized Fortran program
from the kf77
driver
<file>.cmp
- the optimized Fortran program from
kapf
<file>.out
- the annotated KAP listing file
a.out
- the executable file
Other output file names can be specified with the -cmp
and -list
switches.
When KAP detects an error condition, KAP writes a message to standard error.