Operating System - HP-UX
1751802 Members
5155 Online
108781 Solutions
New Discussion юеВ

difference between PA1.1 and PA2.0

 
sathis kumar
Frequent Advisor

difference between PA1.1 and PA2.0

Hello,

Our application is running on HP-UX 11.11. We are currently working on migrating our applications to Oracle 10g. We have created our execuable using PA1.1 and PA2.0 libraries ( OCI ). We would like to know whether we can use the combination of both PA1.1 and PA2.0?

e.g:

under /opt/oracle/product/10.2.0/lib32 :
libclntst10.a: archive file -PA-RISC2.0 relocatable library
libclient10.a: archive file -PA-RISC1.1 relocatable library

We are using both the libraries ( given above ) to create our executable. Please confirm if we can do so or we should not use the combination of both PA1.1 and PA2.0.

Thanks in advance,
Sathish
2 REPLIES 2
Bill Hassell
Honored Contributor

Re: difference between PA1.1 and PA2.0

Your executable will not run on a 1.1 processor if it uses any 2.0 library calls. 1.1 would be the lowest common denominator for portability. But there is no reason to use 1.1 if all the target machines are 64-bit capable comuters (2.0 defines 64bit capability).


Bill Hassell, sysadmin
rick jones
Honored Contributor

Re: difference between PA1.1 and PA2.0

In broad handwaving terms, some of the "rules" for mixing things:

A PA 2.0 processor (ie PA-8000 and later) can run both PA 2.0 and PA 1.1 binaries.

A PA 1.1 processor (ie pre PA-8000) can run PA 1.1 binaries. It cannot run PA 2.0 binaries.

A PA 2.0 processor can run both 32-bit and 64 bit applications.

A PA 1.1 processor can run only 32-bit applications.

You cannot combine 32-bit and 64-bit objects into the same executable.

You can combine PA 1.1 and 32-bit PA2.0 objects into the same executable.
there is no rest for the wicked yet the virtuous have no pillows