- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Porting C++ from PA_RISC to Itanium
Operating System - Linux
1752288
Members
3396
Online
108786
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2006 10:25 PM
тАО11-07-2006 10:25 PM
I'm trying to estimate the cost of moving a large C/C++ application from HP-UX 11.11 PA_RISC 32-bit, to 11.23 Itanium 32-bit. We intend to re-compile from source.
I've read various transition guides and papers, but I'd be grateful if anyone could answer the following queries:
Is Itanium's byte ordering the same as PA_RISC (big-endian)? We have a lot of code that directly manipulates bytes in words, so this would be an issue.
Is Itanium's default 32-bit structure alignment the same as PA_RISC? If fields move, or structures get bigger, this could be an issue for us.
Is 11.23's 32-bit shared memory model the same on Itanium? PA_RISC limits us to shmem from Quadrants 3 and 4, and only three quarters of 4 (ie. 1.75Gb in total).
Are there any other surprises I should know about? :-)
Cheers,
-nick
I've read various transition guides and papers, but I'd be grateful if anyone could answer the following queries:
Is Itanium's byte ordering the same as PA_RISC (big-endian)? We have a lot of code that directly manipulates bytes in words, so this would be an issue.
Is Itanium's default 32-bit structure alignment the same as PA_RISC? If fields move, or structures get bigger, this could be an issue for us.
Is 11.23's 32-bit shared memory model the same on Itanium? PA_RISC limits us to shmem from Quadrants 3 and 4, and only three quarters of 4 (ie. 1.75Gb in total).
Are there any other surprises I should know about? :-)
Cheers,
-nick
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 12:43 AM
тАО11-08-2006 12:43 AM
Solution
Hello Nick,
Posting on behalf of the teammate who works with compilers at HP and also provided the answers.
1. Yes. Both HP-UX PA and HP-UX IA are big endian.
Since you mention that your code is endian aware, I strongly recommend that you run HP Code Advisor static analysis tool on the sources first to locate and clean any possible issues.
It is downloadable from www.hp.com/go/cadvise
2. Yes.
3. Yes. However, you need to be aware that if you plan to convert
Q3/Q4 private, you need to enable MPAS (mostly private address space).
This is well documented at docs.hp.com documents on MPAS.
HTH,
Sanjay
Posting on behalf of the teammate who works with compilers at HP and also provided the answers.
1. Yes. Both HP-UX PA and HP-UX IA are big endian.
Since you mention that your code is endian aware, I strongly recommend that you run HP Code Advisor static analysis tool on the sources first to locate and clean any possible issues.
It is downloadable from www.hp.com/go/cadvise
2. Yes.
3. Yes. However, you need to be aware that if you plan to convert
Q3/Q4 private, you need to enable MPAS (mostly private address space).
This is well documented at docs.hp.com documents on MPAS.
HTH,
Sanjay
Dying is the last thing that I will do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 12:48 AM
тАО11-08-2006 12:48 AM
Re: Porting C++ from PA_RISC to Itanium
Sanjay,
Thanks very much for the quick response.
I did come across the Code Assist tool, so I'll take a look at that.
Cheers,
-nick
Thanks very much for the quick response.
I did come across the Code Assist tool, so I'll take a look at that.
Cheers,
-nick
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP