| United States-English |
|
|
|
![]() |
HP 9000 Computer Systems: HP Pascal/HP-UX Release Notes Version A.10.06 > Chapter 1 New and Changed Features+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.)
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:
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.
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 /usr/lib/sched.models for a list of model numbers and their PA-RISC architecture designations. 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.
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. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||