HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)

-n
-n
The -n option causes the program file produced by the linker to be marked as sharable.
For details and system defaults, refer to the description of ld in the HP-UX Reference
Manual or the ld(1) manpage for more information.
-N
-N
The -N option causes the program file produced by the linker to be marked as unsharable.
For details and system defaults, refer to the description of ld in the HP-UX Reference
Manual or the ld(1) manpage for more information.
+O[no]dynopt
+O[no]dynopt
Supported only on HP-UX 11.31 systems, the +O[no]dynopt option enables [disables]
dynamic optimization for the output file. Both forms of this option change the default
setting, which allows the run-time environment to enable or disable dynamic optimization
according to a system-wide default. This option applies only to executable files and
shared libraries, if the run-time environment supports this feature. chatr(1) can be
used to change this setting, including restoration of the default setting, after the output
file has been created.
-q
-q
The -q option causes the output file from the linker to be marked as demand-loadable.
For details and system defaults, refer to the description of ld in the HP-UX Reference
Manual or the ld(1) manpage for more information.
-Q
-Q
The -Q option causes the program file from the linker to be marked as not
demand-loadable.
For details and system defaults, refer to the description of ld in the HP-UX Reference
Manual or the ld(1) manpage for more information.
-r
-r
Use the -r option to retain relocation information in the output file for subsequent
relinking.
60 Command-Line Options