HP Pascal/HP-UX Release Notes Version A.10.08

Chapter 1 25
New and Changed Features
+DA Command-Line Option
+DA Command-Line Option
+DAmodel
Generates object code for a particular version of the PA-RISC
architecture. Also specifies which version of the HP-UX math library to
link in when you have specified -lm. (See the HP-UX Floating-Point
Guide for more information about using math libraries.)
NOTE Object code generated for PA-RISC 2.0 will not execute on PA-RISC 1.1
systems.
To generate code compatible across PA-RISC 1.1 and 2.0 workstations
and servers, use the +DAportable option.
For best performance use +DA with the model number or architecture
where you plan to execute the program.
Beginning with the HP-UX 10.20 release, the default object code
generated by HP compilers is determined automatically as that of the
machine on which you compile. (Previously, the default code generation
was PA-RISC 1.0 on all Series 800 servers and PA-RISC 1.1 on Series
700 workstations. With this release, 800 systems 8x7, D, E, F, G, H, I, K,
T500, and T520 will now have PA-RISC 1.1 default code generation.)
For example:
+DA1.1
+DA867
+DA2.0
+DAportable
The first two examples generate code for the PA-RISC 1.1 architecture.
The third example generates code for the PA-RISC 2.0 architecture. The
fourth example generates code compatible across 1.1 and 2.0
workstations and servers.
For More Information:
See “Compiling for Different Versions of the PA-RISC Architecture”
below.
See the file /opt/langtools/lib/sched.models for model
numbers and their architectures. Use the command uname -m to
determine the model number of your system.