<?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 Re: Executable Object size so larger under HPIT 64 and aCC? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265251#M674792</link>
    <description>&amp;gt;HP IT 64&lt;BR /&gt;&lt;BR /&gt;(This is meaningless to just about anyone but you.  You should use ia64, IPF, Integrity or Itanium.)&lt;BR /&gt;&lt;BR /&gt;A.05.57 is obsolete and no longer supported.  The latest compiler is A.06.20 and does a much better job.&lt;BR /&gt;&lt;BR /&gt;What do you mean by "Memory Use"?  The output from size(1)?  The size of the text space should be ignored, only R/W data is important.&lt;BR /&gt;&lt;BR /&gt;You shouldn't use +Olit=none, that wastes memory.&lt;BR /&gt;&lt;BR /&gt;As Duncan says, why use +DD64?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I will try to set O3 to check if the size is reduced.&lt;BR /&gt;&lt;BR /&gt;Using optimization will must likely not reduce the data size.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;just because of the platform leading to the difference between Integrity and other platforms.&lt;BR /&gt;&lt;BR /&gt;The platform, for the size of the text space.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The stack is 98M, is it right?&lt;BR /&gt;&lt;BR /&gt;You can reduce this with maxssiz.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Duncan: You appear to be only doing level 1 optimizations &lt;BR /&gt;&lt;BR /&gt;No, -O == +O2.</description>
    <pubDate>Wed, 10 Sep 2008 08:35:57 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-09-10T08:35:57Z</dc:date>
    <item>
      <title>Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265246#M674787</link>
      <description>Hi All,&lt;BR /&gt;I am doing a product porting under Unix platform, Solaris 64, Linux 32, AIX 64 and HP IT 64. But the output of the executable is nearly 3 times of other platforms.Here is the file size and memory for loading the objects.&lt;BR /&gt;Platform File Size Memory Use&lt;BR /&gt;Sol         49M 80M&lt;BR /&gt;Linux         37M 50M&lt;BR /&gt;HP         247M 205M&lt;BR /&gt;HP(Stripped) 133M 205M&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Here it the related information of compiler under HP.&lt;BR /&gt;OS: HP-UX vanpghpp B.11.23 U ia64(uname -a)&lt;BR /&gt;aCC: HP aC++/ANSI C B3910B A.05.57&lt;BR /&gt;Compiler flag:&lt;BR /&gt;&lt;BR /&gt;-I. +Olit=none -D_INCLUDE__STDC_A1_SOURCE -D__64BIT__ -D__LP64__ -DS&lt;BR /&gt;S_64BIT_SERVER +DD64 +W887 -w +W229 +W331 +W361 +W392 +W431 +W655 +W684 +W818 +W819 +W849 +W889 -&lt;BR /&gt;D_POSIX_C_SOURCE=199506L -mt -AA +Z +W302 +W829 -DODBC64 -Wl,+b/usr/lib/hpux64  &lt;BR /&gt;TYPE -DNATIVE_WEB_SERVICE -DNDEBUG -O -D_SCANF_X_INT_ -D_RWCONFIG_12d  -DA&lt;BR /&gt;CTA_RW_SOURCEPRO   -D_HPUX_SOURCE -mt  -Wl,+s  -DSAPonUNIX -DSAPonHPPA -DDTL_HP -D_HP&lt;BR /&gt;_UX -DRFC_USE_STLSTREAM -DSYB_LP64  -L.&lt;BR /&gt;&lt;BR /&gt;Do anyone has suggestion for reducing the size of the output? Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 07:03:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265246#M674787</guid>
      <dc:creator>sohochaser1</dc:creator>
      <dc:date>2008-09-09T07:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265247#M674788</link>
      <description>Well I guess one question is why are ypu compiling as a 64-bit executable? Your code onviously compiles 32 bit (as you indicated it did on Linux), so why are you making it 64-bit? Presumably if you needed lrager memory spaces you wouldn't be worrying about a 100MB of memory...&lt;BR /&gt;&lt;BR /&gt;IA64, being EPIC architecture executables are always larger than their RISC/CISC equivalents as generally there is more intelligence in the compiled code than in the CPU.&lt;BR /&gt;&lt;BR /&gt;You appear to be only doing level 1 optimizations so I don't think adding the "+Osize" option to your compiler flag would make much difference.&lt;BR /&gt;&lt;BR /&gt;Is there a reason why this matters? &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Tue, 09 Sep 2008 08:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265247#M674788</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2008-09-09T08:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265248#M674789</link>
      <description>HI Duncan,&lt;BR /&gt;Thanks for you reply.&lt;BR /&gt;&lt;BR /&gt;As we need support Linux 32, Sol 64, AIX64 and HPIT64. It is requirement.&lt;BR /&gt;&lt;BR /&gt;I will try to set O3 to check if the size is reduced.Where can i find some reference related to following statment?&lt;BR /&gt;&lt;BR /&gt;IA64, being EPIC architecture executables are always larger than their RISC/CISC equivalents as generally there is more intelligence in the compiled code than in the CPU.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 08:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265248#M674789</guid>
      <dc:creator>sohochaser1</dc:creator>
      <dc:date>2008-09-09T08:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265249#M674790</link>
      <description>I try to confirm: Is there something wrong with flags or it just because of the platform leading to the difference between HPIT and other platforms.&lt;BR /&gt;&lt;BR /&gt;As we can see the data,&lt;BR /&gt;&lt;BR /&gt;It need 205M to load the programe, which 4 times of linux.&lt;BR /&gt;&lt;BR /&gt;Besides, i use procsize under HPIT to get the below data for the programm:&lt;BR /&gt;&lt;BR /&gt; UAREA TEXT  DATA STACK SHMEM IO   MMAP   Total&lt;BR /&gt;v 18    31421 1276 98048 0     0    18363 151175&lt;BR /&gt;&lt;BR /&gt;The statck is 98M, is it right?&lt;BR /&gt;&lt;BR /&gt;Besides, we get 205M memory using top command! Why total of procsize is 151M not 205M?&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 08:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265249#M674790</guid>
      <dc:creator>sohochaser1</dc:creator>
      <dc:date>2008-09-09T08:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265250#M674791</link>
      <description>&amp;gt; It need 205M to load the programe, which 4 times of linux.&lt;BR /&gt; &lt;BR /&gt;I am assuming that your Linux box is a PC. It is meaningless to compare a 32bit CISC architecture program with a 64bit RISC or Itanium box. Every integer in your program is by default 100% larger. A CISC computer chip will by definition require less instructions. There are other optimizations possible but if you are counting MBytes, I would be concerned about the memory constraints you have. Are you trying to run HP-UX in less than 500 MB of RAM?</description>
      <pubDate>Wed, 10 Sep 2008 01:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265250#M674791</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-09-10T01:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265251#M674792</link>
      <description>&amp;gt;HP IT 64&lt;BR /&gt;&lt;BR /&gt;(This is meaningless to just about anyone but you.  You should use ia64, IPF, Integrity or Itanium.)&lt;BR /&gt;&lt;BR /&gt;A.05.57 is obsolete and no longer supported.  The latest compiler is A.06.20 and does a much better job.&lt;BR /&gt;&lt;BR /&gt;What do you mean by "Memory Use"?  The output from size(1)?  The size of the text space should be ignored, only R/W data is important.&lt;BR /&gt;&lt;BR /&gt;You shouldn't use +Olit=none, that wastes memory.&lt;BR /&gt;&lt;BR /&gt;As Duncan says, why use +DD64?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I will try to set O3 to check if the size is reduced.&lt;BR /&gt;&lt;BR /&gt;Using optimization will must likely not reduce the data size.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;just because of the platform leading to the difference between Integrity and other platforms.&lt;BR /&gt;&lt;BR /&gt;The platform, for the size of the text space.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The stack is 98M, is it right?&lt;BR /&gt;&lt;BR /&gt;You can reduce this with maxssiz.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Duncan: You appear to be only doing level 1 optimizations &lt;BR /&gt;&lt;BR /&gt;No, -O == +O2.</description>
      <pubDate>Wed, 10 Sep 2008 08:35:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265251#M674792</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-09-10T08:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265252#M674793</link>
      <description>Yes, the title is bad. What I mean is HP ia64.&lt;BR /&gt;&lt;BR /&gt;We use A.05.57 because project risk. &lt;BR /&gt;&lt;BR /&gt;I get some articles talking about the IA64 architecture, it use EPIC, so the construction is two times of other 64 platforms. Is it right?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 10 Sep 2008 08:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265252#M674793</guid>
      <dc:creator>sohochaser1</dc:creator>
      <dc:date>2008-09-10T08:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265253#M674794</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;You are correct (of course) -O = +02&lt;BR /&gt;&lt;BR /&gt;My mistake comes from scan reading documentation, as in this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3901-90008/ch05s02.html?btnNext=next%A0%BB" target="_blank"&gt;http://docs.hp.com/en/B3901-90008/ch05s02.html?btnNext=next%A0%BB&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Which states that Level 1 is the default. I interpereted this as "the default when using -O", when in fact its "the default when no other level is included in the compiler flags"&lt;BR /&gt;&lt;BR /&gt;If I'd read two paragraphs further down I'd have seen that...&lt;BR /&gt;&lt;BR /&gt;D'oh!&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Sep 2008 09:52:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265253#M674794</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2008-09-10T09:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265254#M674795</link>
      <description>And now I can't type...&lt;BR /&gt;&lt;BR /&gt;-O = +O2&lt;BR /&gt;&lt;BR /&gt;*not*&lt;BR /&gt;&lt;BR /&gt;-O = +02&lt;BR /&gt;&lt;BR /&gt;Think I might just go back to bed...</description>
      <pubDate>Wed, 10 Sep 2008 09:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265254#M674795</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2008-09-10T09:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265255#M674796</link>
      <description>&amp;gt;so the construction is two times of other 64 platforms. Is it right?&lt;BR /&gt;&lt;BR /&gt;The instruction size for other RISC platforms.&lt;BR /&gt;Nothing to do with "64", other than data size is larger than 32 bit.</description>
      <pubDate>Wed, 10 Sep 2008 10:11:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265255#M674796</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-09-10T10:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Executable Object size so larger under HPIT 64 and aCC?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265256#M674797</link>
      <description>If you have gotten the answered you needed, please read the following about assigning points:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Tue, 16 Sep 2008 00:46:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-object-size-so-larger-under-hpit-64-and-acc/m-p/4265256#M674797</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-09-16T00:46:00Z</dc:date>
    </item>
  </channel>
</rss>

