The output files that XL Fortran produces are:
- Executable Files: a.out
- By default, XL Fortran produces
an executable file that is named a.out in
the current directory.
Related information: See
-o for information on
selecting a different name and
-c for information
on generating only an object file.
- Object Files: filename.o
- If you specify the -c compiler option,
instead of producing an executable file, the compiler produces an
object file for each specified source file, and
the assembler produces an object file for each specified assembler source
file. By default, the object files have the same file name prefixes
as the source files and appear in the current directory.
- Assembler Source Files: filename.s
- If you specify the -S compiler option,
instead of producing an executable file, the XL Fortran compiler
produces an equivalent assembler source file for each specified
source file. By default, the assembler source files have the
same file name prefixes as the source files and appear in the current
directory.
- Compiler Listing Files: filename.lst
- By default, no listing is produced unless you specify one or more
listing-related compiler options. The listing file is placed in the
current directory, with the same file name prefix as the source file
and a suffix of .lst.
- Module Symbol Files: modulename.mod
- Each module has an associated symbol file that holds information
needed by program units, subprograms, and interface bodies that USE that
module. By default, these symbol files must exist in the current
directory.
Related information: For
information on putting
.mod files in a different
directory, see
-qmoddir.
- Submodule Symbol Files: ancestormodulename_submodulename.smod
Each submodule has an associated symbol file that
holds information needed by the descendant submodules. By default,
these symbol files must exist in the current directory.
The
submodule symbol file is not needed for compiling the ancestor module
or any compilation units that access the ancestor module via use association.
Related information: For information
on putting
.smod files in a different directory,
see
-qmoddir.
- cpp-Preprocessed Source Files: Ffilename.f
- If you specify the -d option when compiling
a file with a .F suffix, the intermediate
file created by the C preprocessor (cpp) is saved rather than deleted.
- Profile Data Files (.*pdf*, .*pdf_map*)
- These are the files that the -qpdf1 option
produces. They are used in subsequent compilations to tune optimizations
that are based on actual execution results.
- Dependency Files: filename.d
- A dependency file contains source file dependency information.
Dependency files are used by the make command
to determine the order in which files should be compiled and the minimum
set of files that must be recompiled when a file is changed. You can
specify the -M or -qmakedep option to generate a dependency
file.
Related information: For information
on setting the name of the dependency file, see
-MF. For information on specifying the
target name of the object file in the dependency file, see
-MT.