1836710 Members
2769 Online
110108 Solutions
New Discussion

Re: Binary difference

 
Charles_151
Advisor

Binary difference

Hi

What are the binary support differences between hp (10.2,11.x) and solaris9?
7 REPLIES 7
RAC_1
Honored Contributor

Re: Binary difference

What do you mean by binary support differences??
There is no substitute to HARDWORK
Charles_151
Advisor

Re: Binary difference

Binary difference is something like this.

Say instance if I take some application from HP and just install it in a solaris it may not work. It is because the binary difference between the two OS. This binary can be a C program or library or any run time env.
A. Clay Stephenson
Acclaimed Contributor

Re: Binary difference

Okay. Almost any HP-UX 10.20 code will operate on HP-UX 11.x; the code is upwardly compatible but not downwardly compatible so that 11.x (almost always) will not execute on 10.20.

HP-UX anything will not execute under Solaris and vice-versa. A possible exception might be some vendor's pcode.
If it ain't broke, I can fix that.
Patrick Wallek
Honored Contributor

Re: Binary difference

The differences for apps. compiled on HP-UX will be related to the C compilers, OS version and libraries. However, applications compiled on 10.20 will generally run on HP-UX 11.0 and 11i (all versions, including Itanium since there is the Aries PA-RISC emulation on those machines). You will also have 32-bit or 64-bit applications with HP-UX 11.X. The differences here relate to compiler options and how much memory they can use.

If you were hoping to run an HP-UX compiled app on a solaris machine, or vice-versa, keep hoping because it is not at all likely to work. You've got totally different CPU architecture, different libraries, etc. I just don't see how that would be even remotely possible.
Charles_151
Advisor

Re: Binary difference

Hi

I am not asking between hp versions. I am asking between HP and solaris versions.

Example: Shared library extension in hp is .sl where as in Solaris it is .so

So when I port my application from HP to Solaris what are the impact I will have in this area?
Gerhard Roets
Esteemed Contributor

Re: Binary difference

Hi Charles

You will need to recomile it or get the different binary.

HTH
Gerhard
Charles_151
Advisor

Re: Binary difference

To some extend I got the answer.