- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- aCC -AP & AA compiler flags
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
03-07-2007 06:36 PM
03-07-2007 06:36 PM
aCC -AP & AA compiler flags
We're on HP-UX B.11.11 U 9000/785.
I read in the documentation that:
"aC++ on HP-UX 11i v1 uses the default compiler option –AP.
To share same code on Itanium platform which support HP-UX v2, we need to change compiler option to –AA."
My question is:
1) I searched all Makefiles & could not find -AP option anywhere. If nothing is explicitly given, does it mean the compiler uses -AP option?
2) For Itanium, do we have to explicity add -AA in the Makefile?
Thanks
- Tags:
- -AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 06:47 PM - edited 10-16-2011 02:27 AM
03-07-2007 06:47 PM - edited 10-16-2011 02:27 AM
Re: aCC -AP & AA compiler flags
What version of aC++ do you have? The latest documents -AP:
http://www.docs.hp.com/en/7762/5991-4874/options.htm#opt-AP
-AP is the PA default.
>To share same code on Integrity servers which support HP-UX 11.23, we need to change compiler option to -AA."
You could use conditional compilation to compile with -AP on PA and -AA on IPF.
Note changing to -AA on PA would have problems if you are depending on any third party aC++ libs, which may not be available with -AA.
>2) For Integrity, do we have to explicitly add -AA in the Makefile?
Yes, that makes it much clearer. (And the default is only almost -AA.)
To port to -AA see:
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,5520,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 07:08 PM
03-07-2007 07:08 PM
Re: aCC -AP & AA compiler flags
aCC: HP ANSI C++ B3910B A.03.33