NOTE: Object files and archive libraries must be accessible to the debugger if the +objdebug method of storing debug information is used.

+[no]onetrip

+onetrip generates code that executes any DO loop at least once. In accordance with the

 

language standard, HP Fortran will not execute a DO loop if either of the following conditions

 

is true:

 

The increment value is greater than zero, and the initial value is greater than the limit.

 

The increment value is less than zero, and the initial value is less than the limit.

 

However, older implementations of Fortran (for example, some FORTRAN 66 processors) always

 

execute a DO loop at least once. The +onetrip option provides compatibility with those

 

nonstandard implementations.

 

The default is +noonetrip.

-p

Generate code for prof(1) profiling. The has the same functionality as the +prof option. The

 

default is +noprof.

+P

Optimize the application based on profile data found in the database fileflow.data , produced

 

by compilation with +Ild(1), +I, and +df, for more details. The +P option is incompatible

 

with the +I and -Soptions. It is incompatible with the -goption only during compile time.

NOTE: This option is only valid on Itanium®-based systems.

+pa1

+pa1 compiles an application for routine-level profiling.

 

+pa is ignored when the HP Fortran compiler generates position-independent code

 

(PIC). The following options cause+pa to be ignored: +pic=short, +pic=long,

 

+zand +Z.

NOTE: +pal s ignored when the HP Fortran compiler generates position-independent

code (PIC). The following options cause +pato be ignored: +pic=short, +pic=long, +z and +Z.

+[no]parallel_intrinsics Link with the parallel version of some intrinsics in the libF90_parallel library. The default is +Onoparallel_intrinsics.

+pic={shortlongno}

+pic generates object code that can be added to a shared library. Object code

 

generated with this option is position-independent code (PIC). All addresses are either

 

pc-relative or indirect references.

 

The argument —shortor long— specifies the allocated size of the data linkage

 

table. Normally you would specify +pic=short to generate PIC. Use +pic=long

 

when the linker issues an error message indicating data linkage table overflow.

 

Specifying +pic=long causes the compiler to allocate additional space for more

 

imported symbols.

+[no]ppu

+ppu appends underscores to external names, including subroutines, functions, and

 

common blocks (for example, int_sum_ rather than the default int_sum).

 

For Itanium® and PA-RISC 64-bit architectures,the default is +ppu. For PA-RISC 32-bit

 

architecture, the default is +noppu.

 

NOTE: Mixed languages programs are affected by the +ppu option. C languages

 

references to Fortran routines and COMMON blocks require a trailing underscore

 

when the Fortran code is compiled with +ppu. +noppu may be used in 64-bit mode

 

to avoid trailing underscores.

+pre_include=file

+pre_include causes the compiler to prepend the code in file before any

 

compilation occurs. This option can appear more than once—each specifying different

 

files—on the same command line.

+[no]prof

+prof prepares object files for profiling with prof. The default is +noprof. The -p

 

option can be used to perform the same function as +prof. profis provided as part

 

of the HP-UX General Programming Tools” product (see prof(1)).

Command-line options 33

Page 33
Image 33
HP UX Fortran Software manual +pa1