An operand is either in the form of a pathname or the form -l
library. At least one operand of the pathname form shall be
specified. The following operands shall be supported:
file.f
The pathname of a FORTRAN source file to be compiled
and optionally passed to the link editor. The filename
operand shall be of this form if the -c
option is used.
file.a
A library of object files typically produced by ar, and
passed directly to the link editor. Implementations may
recognize implementation-defined suffixes other than .a
as denoting object file libraries.
file.o
An object file produced by fort77 -c
and passed
directly to the link editor. Implementations may
recognize implementation-defined suffixes other than .o
as denoting object files.
The processing of other files is implementation-defined.
-l
library
(The letter ell.) Search the library named:
liblibrary.a
A library is searched when its name is encountered, so
the placement of a -l
operand is significant. Several
standard libraries can be specified in this manner, as
described in the EXTENDED DESCRIPTION section.
Implementations may recognize implementation-defined
suffixes other than .a
as denoting libraries.