Re: Question about software support on HP11i for PA-RISC and Itanium (124 Views)
Reply
Occasional Contributor
derek lai
Posts: 3
Registered: ‎04-19-2002
Message 1 of 6 (124 Views)

Question about software support on HP11i for PA-RISC and Itanium

We have a software written in C++. Can we build a single version of the binary and run it on both PA RISC and Itanium?

We currently have this software built and running on HP11iV1. In order to support HP11iV3, do we expect to make any dramatic changes or would it to be simple?
Please use plain text.
Honored Contributor
Bill Hassell
Posts: 14,178
Registered: ‎05-29-2000
Message 2 of 6 (124 Views)

Re: Question about software support on HP11i for PA-RISC and Itanium

The simple answer is that a clean C++ program executable should run on 11.11, 11.23 and 11.31, PA-RISC or Itanium. For Itanium, your program will be interpreted using the Aries emulator (automatically).

The details are: your program does not make use of obscure or undocumented features in the OS, and if your program is compute intensive (ie, more than 25-50% CPU usage for log periods of time), then the Aries emulator will add 2x-5x overhead to your program. Most programs do not accumulate a lot of CPU so Aries is not much of a concern. But I would not assume your code will run without testing on other versions and platforms.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,753
Registered: ‎03-06-2006
Message 3 of 6 (124 Views)

Re: Question about software support on HP11i for PA-RISC and Itanium

>In order to support HP11iV3, do we expect to make any dramatic changes or would it to be simple?

Bill has it right. But you may want to take advantage of native compilers for Integrity.
Any "dramatic" would be for the pickier IPF compilers, not for 11.31. The IPF compilers have +wlint and +check=.
Please use plain text.
Occasional Contributor
derek lai
Posts: 3
Registered: ‎04-19-2002
Message 4 of 6 (124 Views)

Re: Question about software support on HP11i for PA-RISC and Itanium

Thanks for all your helpful replies.

Specifically, we are currently using the following aCC compiler to compile our C++ programs:

aCC: HP ANSI C++ B3910B A.03.45

If there are any known issues (I am hoping that there will be none, other than just performance-related ones) about running compiled binaries on Itanium or HP11iV3, using this compiler, or if there are any specific options that need to be set, please let me know.

Thanks in advance for the help.
Please use plain text.
Honored Contributor
whiteknight
Posts: 1,501
Registered: ‎11-22-1999
Message 5 of 6 (124 Views)

Re: Question about software support on HP11i for PA-RISC and Itanium

Derek,

Here have some good resources in HP portal

HP C/ANSI C Resources


» HP C/ANSI C version 6 - Overview and prior version support
» HP C/ANSI C version 6 - Features to improve developer productivity
» HP C/ANSI C version 6 - Standard conformance and version 5 compatibility
» HP compilers for Itanium®-based HP-UX systems (updated)
» Optimizing Itanium®-based applications
» Inline assembly for Itanium®-based HP-UX
» Performance tuning with HP-UX Itanium® compilers - webinar
» HP floating-point guide for HP Integrity systems
» Library Providers' Guide to Symbol Binding
» HP C/C++ remote developer plug-in for Eclipse

WK
Problem never ends, you must know how to fix it
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,753
Registered: ‎03-06-2006
Message 6 of 6 (124 Views)

Re: Question about software support on HP11i for PA-RISC and Itanium

>WK: Here have some good resources in HP portal

Here is the aC++ page:
http://www.hp.com/go/cpp
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation