HP-UX Floating-Point Guide

28 Chapter 1
Introduction
Overview of HP-UX Math Libraries
Table 1-2 Code-Generation Compiler Options at HP-UX Release 11.0
If your application must run on both PA1.1 and PA2.0 systems, compile
with +DA1.1. Code compiled with +DA2.0 or +DA2.0W will run only on
PA2.0 systems.
The +DA option determines not only the code generated by the compiler
but also the library search path chosen by the linker. For example, if you
invoke the HP Fortran 90 compiler with +DA2.0, it contains the
following:
/opt/fortran90/lib/pa2.0
/opt/fortran90/lib
/usr/lib
/opt/langtools/lib
Not all HP-UX compilers support the generation of 64-bit code. The
following compilers support the +DA2.0W option:
HP C (cc)
HP ANSI C++ (aCC)
The following compilers support +DA1.1 and +DA2.0, but not +DA2.0W:
HP Fortran 90 (f90)
HP FORTRAN/9000 (f77)
HP C++ (CC)
HP Pascal (pc)
Option Synonyms Code Generated Runs on
+DA1.1 +DD32 (C only),
+Oportable
PA1.1 All PA systems
running HP-UX
11.0 or later
+DA2.0 +DA2.0N PA2.0 narrow
mode
All PA2.0 systems
running HP-UX
11.0 or later
+DA2.0W +DD64 (C only) PA2.0 wide mode PA2.0 (HP-UX
11.0 wide-mode
kernels only)