HP Pascal/HP-UX Release Notes Version A.10.08
26 Chapter 1
New and Changed Features
+DA Command-Line Option
model Parameter
model can be either a model number of an HP 9000 system (such as 730,
877, F20, or I50); PA-RISC architecture designations 2.0 or 1.1; or the
term portable. Use the +DAportable compiler option to generate code
compatible across 1.1 and 2.0 workstations and servers. See the file
/opt/langtools/lib/sched.models for a list of model numbers and
their PA-RISC architecture designations.
Compiling for Different Versions of the PA-RISC
Architecture
The instruction set on PA-RISC 2.0 is a superset of the instruction set on
PA-RISC 1.1. Code generated for HP 9000 PA-RISC 1.1 systems will run
on HP 9000 PA-RISC 2.0 systems, though possibly less efficiently than if
it were specifically generated for PA-RISC 2.0.
Code generated for PA-RISC 2.0 will not run on PA-RISC 1.1 systems.
Using +DA to Generate Code for a Specific Version of PA-RISC
When you use the +DA option depends on your particular circumstances.
• If you plan to run your program on the same system where you are
compiling, you don't need to use +DA.
• If you plan to run your program on one particular model of the HP
9000 and that model is different from the one where you compile your
program, use +DAarchitecture with the model number of the target
system.
For example, if you are compiling on a 720 and your program will run
on an 855, use +DA855.
• If you plan to run your program on PA-RISC 2.0 and 1.1 models of the
HP 9000, use +DAportable.
Compiling in Networked Environments
When compiles are performed using diskless workstations or
NFS-mounted file systems, it is important to note that the default code
generation and scheduling are based on the local host processor. The
system model numbers of the hosts where the source or object files reside
do not affect the default code generation and scheduling.