 |
» |
|
|
 |
The HP-UX 10.20 release introduced HP 9000 systems based on
the PA-RISC 2.0 architecture. Also, beginning with that release,
HP compilers by default generate executable code for the PA-RISC
architecture of the machine on which you are compiling. In previous releases, the compilers generated PA-RISC 1.0
code on all HP 9000 Series 800 servers and PA-RISC 1.1 code on Series
700 workstations. HP compilers now by default generate PA-RISC 1.1
code on 1.1 systems and 2.0 code on 2.0 systems. Using the +DAportable
compiler option provides compatibility of code between PA-RISC 1.1
and 2.0 systems. Note that the HP-UX 10.10 release is the last supported
release for PA-RISC 1.0 systems, so code generated by the HP-UX
10.20 release of HP compilers is not supported on PA-RISC 1.0 systems.  |  |  |  |  | NOTE: The +DA1.0
option will be obsolete in a future release. You can achieve better
performance on PA-RISC 1.1 and 2.0 systems by not using this option. |  |  |  |  |
PA-RISC 2.0 Compatibility |  |
The instruction set on PA-RISC 2.0 is a superset of the instruction
set on PA-RISC 1.1. As a result, code generated for PA-RISC 1.1
systems will run on PA-RISC 2.0 systems. However, code generated
for PA-RISC 2.0 systems will not run
on PA-RISC 1.1 or 1.0. The linker issues a hardware compatibility
warning whenever it links in any PA-RISC 2.0 object files: /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (sum.o) was detected. The linked output may not run on PA 1.x system.
|
If you try to run a PA-RISC 2.0 program on a 1.1 system, you'll
see a message like: $ a.out ksh: ./a.out: Executable file incompatible with hardware
|
In this example, the +DAportable
compiler option can be used to create code compatible for PA-RISC
1.1 and 2.0 systems. PA-RISC Architectures and Their System Models |  |
The HP 9000 PA-RISC (Precision Architecture Reduced Instruction
Set Computing) Series 700/800 family of workstations and servers
has evolved from three versions of PA-RISC: - PA-RISC 1.0
The original version of PA-RISC first introduced
on Series 800 servers. The following Series are included: 840, 825,
835/SE, 845/SE, 850, 855, 860, 865, 870/x00, 822, 832, 842, 852,
890, 808, 815, 635, 645. - PA-RISC 1.1
The second version of PA-RISC first introduced on
Series 700 workstations. Newer Series 800 systems also use this
version of the architecture. The following Series are included:
700, 705, 710, 715, 720, 725, 730, 735, 750, 755, B132L, B160L,
B132L+, B180L, C100, C110, J200, J210, J210XC, 742i, 742rt, 743i,
743rt, 745i, 747i, 748i, 8x7, D (except Dx70, Dx80), E, F, G, H,
I, K (except Kx50, Kx60, Kx70), T500, T520. - PA-RISC 2.0
The newest version of PA-RISC. The following Series
are included: C160, C180, C180XP, C200, C240, J280, J282, J2240,
Dx70, Dx80, Kx50, Kx60, Kx70, T600, V2200.
For More InformationSee your compiler online help or documentation
for details on the +DA
option. See the file /opt/langtools/lib/sched.models
for a complete list of model numbers and their architectures. Use
the command model
to determine the model number of your system.
|