<?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: 32bit / 64bit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553098#M702069</link>
    <description>Compile option? sure!&lt;BR /&gt;&lt;BR /&gt;# sh ./Configure -Duse64bitall -des&lt;BR /&gt;&lt;BR /&gt;or if you're using gcc&lt;BR /&gt;&lt;BR /&gt;# sh ./Configure -Dcc=gcc -Duse64bitall -des&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
    <pubDate>Fri, 27 May 2005 06:19:31 GMT</pubDate>
    <dc:creator>H.Merijn Brand (procura</dc:creator>
    <dc:date>2005-05-27T06:19:31Z</dc:date>
    <item>
      <title>32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553086#M702050</link>
      <description>Hi!&lt;BR /&gt;This time I have more theoretical question:&lt;BR /&gt;&lt;BR /&gt;If I compile a programm with gcc and want to compile it for using 64bit mode, should I always give an explicit flag, like -mlp64? Is there a "default" mode for gcc? How can I check whether my gcc-build 64bit is?&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Fri, 27 May 2005 01:53:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553086#M702050</guid>
      <dc:creator>Kalin Evtimov</dc:creator>
      <dc:date>2005-05-27T01:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553087#M702051</link>
      <description>That depends on your architecture.&lt;BR /&gt;&lt;BR /&gt;Gcc on Itanium is capable of generating both, and 32bit is the default.&lt;BR /&gt;&lt;BR /&gt;Gcc on pa-risc can only generate one of the two, and you need two compilers and then you make a symbolic link to the one you want to be the default&lt;BR /&gt;&lt;BR /&gt;Now that you mention -mlp64, I guess you are on Itanium (for pa-risc, this option would do nothing), and I don't know if you can set a default mode.&lt;BR /&gt;&lt;BR /&gt;What you *could* do, is make a wrapper script that always adds your default options, but for the larger configure scripts (perl, gcc, ghostview), that is asking for trouble.&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Fri, 27 May 2005 02:01:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553087#M702051</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-05-27T02:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553088#M702052</link>
      <description>And what if I installed the perl-depot from HP? Is it a 32 or a 64bit build?&lt;BR /&gt;</description>
      <pubDate>Fri, 27 May 2005 02:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553088#M702052</guid>
      <dc:creator>Kalin Evtimov</dc:creator>
      <dc:date>2005-05-27T02:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553089#M702053</link>
      <description>On what architecture?&lt;BR /&gt;&lt;BR /&gt;HP is also making more and more depots containing both.&lt;BR /&gt;&lt;BR /&gt;Unless they state clearly in the description what is in it, you only can tell after downloading and swlist'ing the depot&lt;BR /&gt;&lt;BR /&gt;Most defaults are 32bit, which is a sane choice, unless you happen to live in the world called Oracle, where 64bit seems to be the only legal value, and everything that needs to connect to it needs to be 64bit too (perl, openldap, ...)&lt;BR /&gt;&lt;BR /&gt;My most recent depots for pa-risc, contain both 32bit and 64bit builds, which get installed both if you plainly swinstall, but you can choose either if you want. The installation instructions on my site tell you how.&lt;BR /&gt;&lt;BR /&gt;Once you have it installed, use 'perl -v' to see what kind of perl it is:&lt;BR /&gt;&lt;BR /&gt;You will get lines like:&lt;BR /&gt;&lt;BR /&gt;This is perl, v5.8.6 built for i686-linux-64int&lt;BR /&gt;This is perl, v5.8.6 built for i586-linux-thread-multi&lt;BR /&gt;This is perl, v5.8.5 built for PA-RISC2.0&lt;BR /&gt;This is perl, v5.8.6 built for PA-RISC2.0-LP64&lt;BR /&gt;This is perl, v5.8.7 built for aix-64all&lt;BR /&gt;This is perl, v5.8.5 built for aix&lt;BR /&gt;This is perl, v5.9.3 built for IA64.ARCHREV_0-thread-multi-LP64-ld&lt;BR /&gt;&lt;BR /&gt;If this line does not show 64, it's 32bit&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Fri, 27 May 2005 02:37:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553089#M702053</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-05-27T02:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553090#M702056</link>
      <description>my perl says:&lt;BR /&gt;This is perl, v5.8.6 built for IA64.ARCHREV_0&lt;BR /&gt;Just for sure: is that 64 bit build?&lt;BR /&gt;</description>
      <pubDate>Fri, 27 May 2005 02:57:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553090#M702056</guid>
      <dc:creator>Kalin Evtimov</dc:creator>
      <dc:date>2005-05-27T02:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553091#M702059</link>
      <description>No, it's not.&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Fri, 27 May 2005 03:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553091#M702059</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-05-27T03:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553092#M702062</link>
      <description>To be more verbose (sorry for the previous brevity), do perl -V (a capital V), and the last section will show something like&lt;BR /&gt;&lt;BR /&gt;Characteristics of this binary (from libperl):&lt;BR /&gt;  Compile-time options: DEBUGGING USE_64_BIT_INT USE_LARGE_FILES&lt;BR /&gt;  Locally applied patches:&lt;BR /&gt;        defined-or&lt;BR /&gt;  Built under linux&lt;BR /&gt;  Compiled at Apr 22 2005 13:22:58&lt;BR /&gt;  %ENV:&lt;BR /&gt;    PERL5_CPANPLUS_CONFIG="/home/merijn/.cpanplus/config"&lt;BR /&gt;  @INC:&lt;BR /&gt;    /pro/lib/perl5/5.8.6/i686-linux-64int&lt;BR /&gt;    /pro/lib/perl5/5.8.6&lt;BR /&gt;    /pro/lib/perl5/site_perl/5.8.6/i686-linux-64int&lt;BR /&gt;    /pro/lib/perl5/site_perl/5.8.6&lt;BR /&gt;    /pro/lib/perl5/site_perl&lt;BR /&gt;    .&lt;BR /&gt;&lt;BR /&gt;If there is 'USE_64_BIT_ALL' you have a 64bit perl.&lt;BR /&gt;You can also do&lt;BR /&gt;&lt;BR /&gt;# file `which perl`&lt;BR /&gt;/pro/bin/perl: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Fri, 27 May 2005 03:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553092#M702062</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-05-27T03:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553093#M702064</link>
      <description>Thank you. At least I know it now.&lt;BR /&gt;&lt;BR /&gt;$ file `which perl`                                   &lt;BR /&gt;/bin/perl:      ELF-32 executable object file - IA64&lt;BR /&gt;&lt;BR /&gt;I have now a big problem, because I need 64bit build. Trying to compile it by myself bring me always to the same place:&lt;BR /&gt;n file included from /usr/include/sys/ipc.h:15,&lt;BR /&gt;                 from perl.h:4112,&lt;BR /&gt;                 from perlmain.c:36:&lt;BR /&gt;/usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type&lt;BR /&gt;/usr/include/sys/sem.h:212: error: field `sem_perm' has incomplete type&lt;BR /&gt;In file included from perl.h:4112,&lt;BR /&gt;                 from perlmain.c:36:&lt;BR /&gt;/usr/include/sys/ipc.h:51: error: parse error before "cid_t"&lt;BR /&gt;/usr/include/sys/ipc.h:56: error: parse error before '}' token&lt;BR /&gt;gmake[1]: *** [perlmain.o] Error 1&lt;BR /&gt;&lt;BR /&gt;, I posted that in an earlier topic, but as I am not a C-guy, I could not fix this. Quite stupid situation.&lt;BR /&gt;&lt;BR /&gt;Thank you anyway :)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 May 2005 03:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553093#M702064</guid>
      <dc:creator>Kalin Evtimov</dc:creator>
      <dc:date>2005-05-27T03:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553094#M702065</link>
      <description>My first hinch is that you are not up-to-date with your system patches&lt;BR /&gt;My second is that you are using a compiler that is not in sync with your system&lt;BR /&gt;&lt;BR /&gt;Since you did not state either what C compiler you use and the exact version of your OS.&lt;BR /&gt;&lt;BR /&gt;I have just checked the content of &lt;A href="http://hpux.connect.org.uk/ftp/hpux/Languages/perl-5.8.6/perl-5.8.6-sd-11.23.depot.gz" target="_blank"&gt;http://hpux.connect.org.uk/ftp/hpux/Languages/perl-5.8.6/perl-5.8.6-sd-11.23.depot.gz&lt;/A&gt; (the version available for Itanium by the Porting center) and it contains only a 32bit build &lt;BR /&gt;&lt;BR /&gt;I have build a 64bit version on one of the Itanium testdrive machines, but I have no idea how you would be ably to get that. Do you have a testdrive account? the spe176 would do&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Fri, 27 May 2005 03:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553094#M702065</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-05-27T03:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553095#M702066</link>
      <description>How do I connect the spe176? I am not familiar with the Testdrive Programm, so I will just have a look.</description>
      <pubDate>Fri, 27 May 2005 04:18:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553095#M702066</guid>
      <dc:creator>Kalin Evtimov</dc:creator>
      <dc:date>2005-05-27T04:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553096#M702067</link>
      <description>Do You remember the options you compiled perl with?</description>
      <pubDate>Fri, 27 May 2005 06:07:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553096#M702067</guid>
      <dc:creator>Kalin Evtimov</dc:creator>
      <dc:date>2005-05-27T06:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553097#M702068</link>
      <description>&lt;A href="http://www.testdrive.hp.com/" target="_blank"&gt;http://www.testdrive.hp.com/&lt;/A&gt; is where you go to get an account. Wait for the mail, and have a wide variety of machines and architectures at your disposal to test on.&lt;BR /&gt;You will only have FTP and TELNET access (no outbound network at all), but it suffices to e.g. build perl, fetch the build tree and then install on your own machine.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.testdrive.hp.com/current.shtml" target="_blank"&gt;http://www.testdrive.hp.com/current.shtml&lt;/A&gt; lists the currently available machines.&lt;BR /&gt;&lt;BR /&gt;I can build *any* perl there for you, but that would be useless if you are unable to fetch it.&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Fri, 27 May 2005 06:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553097#M702068</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-05-27T06:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553098#M702069</link>
      <description>Compile option? sure!&lt;BR /&gt;&lt;BR /&gt;# sh ./Configure -Duse64bitall -des&lt;BR /&gt;&lt;BR /&gt;or if you're using gcc&lt;BR /&gt;&lt;BR /&gt;# sh ./Configure -Dcc=gcc -Duse64bitall -des&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Fri, 27 May 2005 06:19:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553098#M702069</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-05-27T06:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: 32bit / 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553099#M702070</link>
      <description>Thank You for your help. I want to try building perl and so on alone, because the point is to learn how to do it.I have time enough:) I may come to you later, if I have any biiig problem.&lt;BR /&gt;</description>
      <pubDate>Fri, 27 May 2005 06:25:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32bit-64bit/m-p/3553099#M702070</guid>
      <dc:creator>Kalin Evtimov</dc:creator>
      <dc:date>2005-05-27T06:25:37Z</dc:date>
    </item>
  </channel>
</rss>

