Operating System - HP-UX
1837666 Members
2698 Online
110117 Solutions
New Discussion

Re: PA-RISC 1.1 Binary Compatbility with PA-RISC 2.0

 
Faizulla
Occasional Advisor

PA-RISC 1.1 Binary Compatbility with PA-RISC 2.0

Hello All,

This is my requirement. On HP-UX, I have a PA-RISC 1.1 binary which works with PA-RISC 1.1 version of Shared Libraries. Now, for some reasons, the binary still remains PA-RISC 1.1 on HPPA2.0 and IA64 but I would like to run on those platforms. I have the PA 2.0 versions of the Shared Libraries available. But these shared libraries are not buiilt with "-mportable on gcc" or "+DAportable with native compiler" options. These libraries are built on HPPA2.0. So, in thise case, can I get my executable running on HPPA2.0 and IA64(Aries emulator handles). I do not have already workigng test cases now. These are my assumptions.
1. As the libraries are built for HPPA2.0, code is generated for HPPA2.0 Instruction Set which is superset of PA-RISC 1.1 Instruction Set and hence the 1.1 binary is not compatible. So, we should have built the libs with "portable" flag.
2. Same holds good for IA64.

Please correct me if I am wrong or missing anything. Your help is appreciated.
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: PA-RISC 1.1 Binary Compatbility with PA-RISC 2.0

You should have no problems. You can mix and match PA1.1 with PA2.0, as long as you run on PA2.0 hardware. If you use Aries, it handles all PA architectures.
Faizulla
Occasional Advisor

Re: PA-RISC 1.1 Binary Compatbility with PA-RISC 2.0

That's correct. I tested with some examples. Tested both on HPPA2.0 and Itanium. It worked. Thanks for your answer.