1834149 Members
2610 Online
110064 Solutions
New Discussion

32 bit app on 64bit HPUX

 
SOLVED
Go to solution
Lacrosse
Regular Advisor

32 bit app on 64bit HPUX

Can I run a 32 bit app on a 64 bit version of HPUX after a recompile? my understanding is that it just won't take advantage of the 64 bit addressing?
Just to verify...you can't run 32 bit mode on a rp2470 correct
6 REPLIES 6
Hai Nguyen_1
Honored Contributor

Re: 32 bit app on 64bit HPUX

Yes, you can run 32-bit apps on a 64-bit OS.

Hai
Pete Randall
Outstanding Contributor

Re: 32 bit app on 64bit HPUX

Hey Hookem!

Yes you can run a 32 bit app on 64bit HP-UX.

No, you can't run 32 on rp2470, see:

http://devrsrc1.external.hp.com/STK/serversupport.html


Pete

Sorry about UT!

Pete
Ian Lochray
Respected Contributor

Re: 32 bit app on 64bit HPUX

If you have a 32-bit app then you should be able to run it on 64-bit HP-UX without a recompile. As you say, it cannot use 64-bit addressing. If this is not a problem for you then it may be advantageous to keep the app 32-bit as, in general, 32-bit versions of apps outperform 64-bit versions.
I am current;y runnig 32-bit apps built on 32-bit HP-UX 11.00 on 64-bit HP-UX 11.11.
A. Clay Stephenson
Acclaimed Contributor

Re: 32 bit app on 64bit HPUX

Actually, you can run a 32-bit application (even from 10.20) under 64-bit 11.x WITHOUT a recompile. Although the application is limited to 32-bit address space (4GB) you can use memory windows so that each 32-bit process has its own 4GB address space.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: 32 bit app on 64bit HPUX

As noted you should be able to run almost any 32 bit app on 64 bit HP-UX.

Some but not all though.

Example: Cyborg HR(I know sysadmins are cringng as they even think about that), that application requires a cobol compiler that as of this date will not run on 64 bit HP-UX.

So to be sure, you need to check with your application vendor.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Chris Vail
Honored Contributor
Solution

Re: 32 bit app on 64bit HPUX

We have a RP2430 running 11i. The kernel is a 64bit kernel, but all the external commanes (such as mv, cp, ln, etc.) are still 32 bit. Thats why these commands choke when working with files larger than 2GB.

AFAIK, 32bit apps should be just fine on the RP2470.

Supposedly, the new release of 11i will have more (but not all) these external commands recompiled to 64 bits. Until then, its only the kernel itself that is 64 bits.


Chris