<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic aCC -AP &amp;amp; AA compiler flags in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/acc-ap-amp-aa-compiler-flags/m-p/3957874#M95003</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We're on HP-UX B.11.11 U 9000/785. &lt;BR /&gt;&lt;BR /&gt;I read in the documentation that:&lt;BR /&gt;&lt;BR /&gt;"aC++ on HP-UX 11i v1 uses the default compiler option –AP.&lt;BR /&gt;&lt;BR /&gt;To share same code on Itanium platform which support HP-UX v2, we need to change compiler option to –AA."&lt;BR /&gt;&lt;BR /&gt;My question is:&lt;BR /&gt;&lt;BR /&gt;1) I searched all Makefiles &amp;amp; could not find -AP option anywhere. If nothing is explicitly given, does it mean the compiler uses -AP option?&lt;BR /&gt;&lt;BR /&gt;2) For Itanium, do we have to explicity add -AA in the Makefile?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
    <pubDate>Thu, 08 Mar 2007 02:36:01 GMT</pubDate>
    <dc:creator>sharathkv25</dc:creator>
    <dc:date>2007-03-08T02:36:01Z</dc:date>
    <item>
      <title>aCC -AP &amp; AA compiler flags</title>
      <link>https://community.hpe.com/t5/operating-system-linux/acc-ap-amp-aa-compiler-flags/m-p/3957874#M95003</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We're on HP-UX B.11.11 U 9000/785. &lt;BR /&gt;&lt;BR /&gt;I read in the documentation that:&lt;BR /&gt;&lt;BR /&gt;"aC++ on HP-UX 11i v1 uses the default compiler option –AP.&lt;BR /&gt;&lt;BR /&gt;To share same code on Itanium platform which support HP-UX v2, we need to change compiler option to –AA."&lt;BR /&gt;&lt;BR /&gt;My question is:&lt;BR /&gt;&lt;BR /&gt;1) I searched all Makefiles &amp;amp; could not find -AP option anywhere. If nothing is explicitly given, does it mean the compiler uses -AP option?&lt;BR /&gt;&lt;BR /&gt;2) For Itanium, do we have to explicity add -AA in the Makefile?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Mar 2007 02:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/acc-ap-amp-aa-compiler-flags/m-p/3957874#M95003</guid>
      <dc:creator>sharathkv25</dc:creator>
      <dc:date>2007-03-08T02:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: aCC -AP &amp; AA compiler flags</title>
      <link>https://community.hpe.com/t5/operating-system-linux/acc-ap-amp-aa-compiler-flags/m-p/3957875#M95004</link>
      <description>&lt;P&gt;What version of aC++ do you have? The latest documents -AP:&lt;BR /&gt;&lt;A target="_blank" href="http://www.docs.hp.com/en/7762/5991-4874/options.htm#opt-AP"&gt;http://www.docs.hp.com/en/7762/5991-4874/options.htm#opt-AP&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-AP is the PA default.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;To share same code on Integrity servers which support HP-UX 11.23, we need to change compiler option to -AA."&lt;BR /&gt;&lt;BR /&gt;You could use conditional compilation to compile with -AP on PA and -AA on IPF.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;2) For Integrity, do we have to explicitly add -AA in the Makefile?&lt;BR /&gt;&lt;BR /&gt;Yes, that makes it much clearer. (And the default is only almost -AA.)&lt;BR /&gt;&lt;BR /&gt;To port to -AA see:&lt;BR /&gt;&lt;A target="_blank" href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,5520,00.html"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,5520,00.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2011 09:27:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/acc-ap-amp-aa-compiler-flags/m-p/3957875#M95004</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-16T09:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: aCC -AP &amp; AA compiler flags</title>
      <link>https://community.hpe.com/t5/operating-system-linux/acc-ap-amp-aa-compiler-flags/m-p/3957876#M95005</link>
      <description>Thanks for the reply, we're using&lt;BR /&gt;&lt;BR /&gt;aCC: HP ANSI C++ B3910B A.03.33</description>
      <pubDate>Thu, 08 Mar 2007 03:08:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/acc-ap-amp-aa-compiler-flags/m-p/3957876#M95005</guid>
      <dc:creator>sharathkv25</dc:creator>
      <dc:date>2007-03-08T03:08:04Z</dc:date>
    </item>
  </channel>
</rss>

