HP Fortran Programmer's Guide (September 2007)
Compiling and linking
Compiling with the f90 command
Chapter 2 43
Enables attaching multiple FORTRAN UNITs to the same file by allowing the
file to be opened in multiple Fortran OPEN statements.
-n
Mark output from the linker
shared
. For details and system defaults, see
ld
(1).
-N
Mark output from the linker
unshared
. For details and system defaults, see
ld(
1).
+nls=
lang
+nls enables 16-bit Native Language Support processing in character
strings and comments for the specified language
lang
. For details on Native
Language Support, refer to Native Language Support User’s Guide.
The -Y option can be used to perform the same function as +nls.
+noalign64bitpointers
+noalign64bitpointers disables correct alignment of pointers in derived
types when compiling for wide mode (+DA2.0W). Earlier releases of Fortran
90 improperly aligned such pointers, occasionally leading to runtime aborts.
Since this change introduces a potential binary incompatibility, the
+noalign64bitpointers flag is provided to maintain the old behavior.
Users who compile in wide mode (+DA2.0W)—and have derived types that
contain components with the POINTER attribute—should recompile all
source files that reference variables of that derived type. Users who have
successfully used such derived type variables with older releases, and do not
wish to recompile all affected source files, should always specify
+noalign64bitpointers when compiling affected source files.
+nocheckuf
+nocheckuf disables the OPEN statement error check for opening text files
with ACCESS=”sequential”, FORM=”unformatted”. This option is useful
only when BUFFERIN/BUFFEROUT statements will be used to access the
opened unit. The main program must be compiled with this option for it to
have any effect, and all OPEN statements will then skip this error check.
+nopadsharedcommon
Do not pad shared common blocks to a multiple of 8 bytes. This option is
useful when sharing shared common blocks between f77-generated
programs and f90-generated programs. All source files referencing the same
shared common block must be compiled with the same setting of this flag.