HP 3000 Manuals

RLFILE Directive [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Reference

RLFILE Directive 

This directive causes each program unit to be compiled into its own
object module.

Syntax 

$RLFILE

Default               None; the compiler creates a relocatable object
                      file containing one module for all procedures.

Location              The RLFILE directive must occur before any
                      nondirective statement in the program unit,
                      including the program head.

Impact on             This directive results in less efficient use of
Performance           library space than compiling each procedure
                      individually from separate source files because,
                      for each procedure in the source program file, a
                      module is either added or updated (if it already
                      exists) in a relocatable library.  (Refer to the HP 
                      Link Editor/iX Reference Manual for more
                      information on relocatable libraries.)  This
                      directive puts additional information into the
                      object file (of type NMRL), thus significantly
                      increasing the object file size.

Additional Information 

Each program unit (identified by a PROGRAM, SUBROUTINE, FUNCTION, or
BLOCK DATA statement) is compiled into its own object module and placed
into a file of type NMRL. The default file name is $OLDPASS. In
subsequent compilations into the same RL file, program units will replace
corresponding object modules of the same name.  This functionality allows
you to add and delete entries on the program unit level (versus module
level) using the Link Editor.

This directive provides the same functionality available with FORTRAN
77/V when doing multiple compiles into the same USL file.



MPE/iX 5.0 Documentation