1833989 Members
2019 Online
110063 Solutions
New Discussion

Upgrading to HP-UX 11

 
SOLVED
Go to solution
Leila Maria Rebel
Frequent Advisor

Upgrading to HP-UX 11

Hello!

Do I need to recompile all my C programs after upgrading from 10.20 to 11.00 ?

Thanks.
Leila rebel
7 REPLIES 7
Patrick Wallek
Honored Contributor

Re: Upgrading to HP-UX 11

As far as I know you should NOT have to recompile. 11.0 (32 and 64 bit) is capable of running programs compiled on 10.20.
Victor BERRIDGE
Honored Contributor

Re: Upgrading to HP-UX 11

Ive not heard of need to...
HPUX11 runs 10.20 compiled programs...

All the best
Victor
James R. Ferguson
Acclaimed Contributor
Solution

Re: Upgrading to HP-UX 11

Hi:

You might find this site of interest:

http://devresource.hp.com/devresource/Topics/Porting/Port.html

Take a look, for a start, at the "HP-UX 64-bit Porting and Transition Guide":

http://docs.hp.com/hpux/onlinedocs/5966-9887/5966-9887.html

In part, this guide notes, "HP-UX 11.0 is binary compatible with HP-UX 10.x. Fully bound shared or archive applications that work on any HP-UX 10.x release continue to work on this release without recompiling, relinking, or modifying the application. A fully shared bound application consists of an executable program and all of its related user shared libraries."

...JRF...
Greg Vaidman
Respected Contributor

Re: Upgrading to HP-UX 11

you will not need to recompile statically linked executables, but most dynamically linked ones will need to be recompiled.

regards,
greg
Darrel Louis
Honored Contributor

Re: Upgrading to HP-UX 11

Leila,

From the Course(New Features and Functions of HP-UX 11) I followed I 've the following:
- Binary Compatibility
Fully Bound applications that ran on an
HP- UX 10.X release and will generally
continue to run with the same behaviour on
32-bit and 64-bit HP-UX 11.00
- Source Compatibility
32-bit software that compiled on an HP-UX
10.x release and can be recompiled without
source code change on HP-UX 11.00
- Data Compatibility
Data files such as system files, databases,
user files, backup/recovery formats and HP-
Documented data formats which have been
accessed previously by a 32-bit application
on previous releases.

Further I've a powerpoint presentation if you're interested I can post it.

Good Luck

Darrel
Steven Sim Kok Leong
Honored Contributor

Re: Upgrading to HP-UX 11

Hi,

For statically-linked binaries, recompiling is not required. I migrated SAS v6.12 from a system running HP-UX 10.20 to another running HP-UX 11.00 32-bit by simply transferring the entire SASROOT across.

However, for database and ERP applications such as Oracle and SAP, you cannot just simply copy directories across. You will need to re-install or upgrade to the correct SAP version that supports specifically HP-UX 11.00. In addition, Oracle and SAP always come with additional "release notes" which usually specifies what OS patches are required for a particular OS version as well as the kernel parameters to set. The kernel parameter set in HP-UX 11.00 is different from HP-UX 10.20 especially with regards to network tunable parameters. nettune is superceded with ndd which has an entirely different naming convention for network tunable parameters.

Hope this helps. Regards.

Steven Sim.
Brainbench MVP for Unix Admin
http://www.brainbench.com
Stefan Farrelly
Honored Contributor

Re: Upgrading to HP-UX 11


I would advise you try recompiling everything after upfgrading to 11. Weve had problems with C programs which are supposed to be binary compatible but coredump after upgrading to 11. Recompiles work fine, but still coredump or dont behave the same way.

To be safe you should at least recompile them to ensure they will compile and those that need to pull in any new 11 libraries and if possbile at least attempt to run them to ensure they behave the same way.
Im from Palmerston North, New Zealand, but somehow ended up in London...