Operating System - HP-UX
1833540 Members
2762 Online
110061 Solutions
New Discussion

Re: 10.20 and 11.0 support

 
SOLVED
Go to solution
andi_1
Frequent Advisor

10.20 and 11.0 support

Hi guys,

How can I ensure if I compile on 11.0 system, the resulting binaries can also be ran on 10.20 system?

I used ANSIC for one project and gcc for another.

Thank you!
3 REPLIES 3
Clemens van Everdingen
Honored Contributor
Solution

Re: 10.20 and 11.0 support

Hi,

I think not ! You will have to compile it on 10.20 as well.

But there might be other suggestions that I am not aware of.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
A. Clay Stephenson
Acclaimed Contributor

Re: 10.20 and 11.0 support

The simple answer is that you can't. In almost every case (kernel intrusive code being the exception), 10.20 code will execute on 11x but the converse is not true. The code is upwardly compatible but NOT downwardly compatible. You must compile everything on a 10.20 box. The few application that might work are working by accident.

If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: 10.20 and 11.0 support

Hi Lz

The binaries are suppose to be upward compatible , if per chance you have to run it on lower OS then may be u need to recompile again , I assume you are using HPUX 11.00 32 bit.


Manoj Srivastava