<?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: 32 bit compilation on 64 bit machine in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345340#M869795</link>
    <description>Hi Norman,&lt;BR /&gt;&lt;BR /&gt;As far as I know, +DD32 bit generates 32 bit application and +DD64 generates 64 bit application. If you do file what you see as PA RISC 1.1 is fro 32 bit since it can run bot on PA RISC 1.1 and 2 but a 64 bit app will run only on PA RISC 2. Hence the binary you get with +DD32 is the one which you can run on PA RISC 2.&lt;BR /&gt;&lt;BR /&gt;manish</description>
    <pubDate>Fri, 30 Jul 2004 03:46:27 GMT</pubDate>
    <dc:creator>Manish Srivastava</dc:creator>
    <dc:date>2004-07-30T03:46:27Z</dc:date>
    <item>
      <title>32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345338#M869793</link>
      <description>We are porting our 32 bit C/SQL applications from B.11.0 (HP9000) to a 64 bit machine (B.11.11).&lt;BR /&gt;I can only find the +DD32 and +DD64 options. DD64 generates code for a RISC2.0 machine, DD32 generates code for a RISC1.1 machine equivalent to +DAportable.&lt;BR /&gt;Is there any way of creating 32bit code for a RISC2.0 machine?</description>
      <pubDate>Fri, 30 Jul 2004 03:36:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345338#M869793</guid>
      <dc:creator>Norman Allen_1</dc:creator>
      <dc:date>2004-07-30T03:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345339#M869794</link>
      <description>+DAportable is the way to generate 32bit pa-1.1 code&lt;BR /&gt;&lt;BR /&gt;+DA2.0 is 32bit pa-risc-2.0&lt;BR /&gt;+DA2.0w is 64bit pa-risc-2.0&lt;BR /&gt;&lt;BR /&gt;32bit is still the default&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Fri, 30 Jul 2004 03:44:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345339#M869794</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-07-30T03:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345340#M869795</link>
      <description>Hi Norman,&lt;BR /&gt;&lt;BR /&gt;As far as I know, +DD32 bit generates 32 bit application and +DD64 generates 64 bit application. If you do file what you see as PA RISC 1.1 is fro 32 bit since it can run bot on PA RISC 1.1 and 2 but a 64 bit app will run only on PA RISC 2. Hence the binary you get with +DD32 is the one which you can run on PA RISC 2.&lt;BR /&gt;&lt;BR /&gt;manish</description>
      <pubDate>Fri, 30 Jul 2004 03:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345340#M869795</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-07-30T03:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345341#M869796</link>
      <description>The compiler default is to produce a 32-bit binary for the architecture type on which the compiler is running.  So, if you compile with now options on a PA2.0 system, you get a PA2.0 32-bit binary.  If you compile with no options on an IPF system, you get an IPF 32-bit binary.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jul 2004 21:58:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345341#M869796</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2004-07-30T21:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345342#M869797</link>
      <description>To build PA-RISC 1.1 and PA-RISC 2.0 binaries on a PA 11.11 machine&lt;BR /&gt;&lt;BR /&gt; a. using GCC compiler option ,&lt;BR /&gt;       &lt;BR /&gt; -mpa-risc-1-1  --&amp;gt; PA-RISC 1.1 binary              &lt;BR /&gt; -mpa-risc-2-0  --&amp;gt; PA-RISC 2.0 binary &lt;BR /&gt;    &lt;BR /&gt; b. using HP's C compiler option,&lt;BR /&gt;         &lt;BR /&gt;    +DA1.1  --&amp;gt; PA-RISC 1.1 binary&lt;BR /&gt;    +DA2.0  --&amp;gt; PA-RISC 2.0 binary { 32 bit }&lt;BR /&gt;    +DA2.0w --&amp;gt; PA-RISC 2.0 binary { 64 bit }&lt;BR /&gt;&lt;BR /&gt;-Saravanan</description>
      <pubDate>Sat, 31 Jul 2004 01:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345342#M869797</guid>
      <dc:creator>Saravanan_11</dc:creator>
      <dc:date>2004-07-31T01:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345343#M869798</link>
      <description>Thanks for all the information, however something new crops up.&lt;BR /&gt;&lt;BR /&gt;If I compile with +DAportable to create RISC 1.1 32 bit code, our applications work.&lt;BR /&gt;If I use +DA2.0 (not +DA2.0w) which should create RISC 2.0 32 bit code, our applications hang. This is exactly the same problem I originally found when the compiler was generating 64 bit code.&lt;BR /&gt;The file statement only says RISC1.1 or RISC2.0, but not if its 32 or 64 bit.&lt;BR /&gt;Can someone tell me how to check if it is genuine 32 bit code, and why this should hang our applications?&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Aug 2004 06:37:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345343#M869798</guid>
      <dc:creator>Norman Allen_1</dc:creator>
      <dc:date>2004-08-02T06:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345344#M869799</link>
      <description>please make sure you have the latest linker PHSS_30965 (and NOT PHSS_30048 : that linker may be one reason for the hangs).</description>
      <pubDate>Mon, 02 Aug 2004 07:22:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345344#M869799</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2004-08-02T07:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345345#M869800</link>
      <description>Apparently PHSS_30965 is for 11.0.&lt;BR /&gt;We are running 11.11 with PHSS_30049. There doesn't seem to be an equivalent patch for 11i.</description>
      <pubDate>Mon, 02 Aug 2004 08:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345345#M869800</guid>
      <dc:creator>Norman Allen_1</dc:creator>
      <dc:date>2004-08-02T08:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345346#M869801</link>
      <description>The file statement is all you need. Unless the file statement reports ELF format, the code is 32bits. Here's a link that discusses the 64bit executable format: &lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90655/B2355-90655_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90655/00/00/8-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90655/00/00/8-toc.html&amp;amp;searchterms=executable%7cformat%7celf&amp;amp;queryid=20040802-070918" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90655/B2355-90655_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90655/00/00/8-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90655/00/00/8-toc.html&amp;amp;searchterms=executable%7cformat%7celf&amp;amp;queryid=20040802-070918&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;On your 64bit opsystem, use file on the files in /usr/bin and you'll see some ELF's.</description>
      <pubDate>Mon, 02 Aug 2004 08:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345346#M869801</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-08-02T08:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345347#M869802</link>
      <description>Now isn't that interesting - I've just done a file on /usr/bin and they are all defined as RISC1.1 executables!&lt;BR /&gt;That would explain why my attempts at creating RISC2.0 code fails!!!&lt;BR /&gt;I'm taking this up with my sysadmin guy, but in the meantime +DD32 or +DAportable works just fine.&lt;BR /&gt;When we have the time to port our applications from 32 to 64 bits, we'll have to change this!</description>
      <pubDate>Mon, 02 Aug 2004 10:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345347#M869802</guid>
      <dc:creator>Norman Allen_1</dc:creator>
      <dc:date>2004-08-02T10:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345348#M869803</link>
      <description>PHSS_30966 is the 11.11 equivalent to PHSS_30965.&lt;BR /&gt;The HP-UX commands are PA-RISC 1.1 executables, but that does not explain a problem with building and running PA2.0 32-bit programs.&lt;BR /&gt;A system with a PA2.0 processor can run both PA1.1 and PA2.0 code.&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Aug 2004 10:45:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345348#M869803</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2004-08-02T10:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345349#M869804</link>
      <description>Whoops, I forgot. The HP-UX commands don't need to be 64bit. Try this:&lt;BR /&gt; &lt;BR /&gt;file /stand/vmunix&lt;BR /&gt; &lt;BR /&gt;If that isn't an ELF file then try this command to see what your kernel is runnng:&lt;BR /&gt; &lt;BR /&gt;getconf KERNEL_BITS</description>
      <pubDate>Mon, 02 Aug 2004 11:33:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345349#M869804</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-08-02T11:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: 32 bit compilation on 64 bit machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345350#M869805</link>
      <description>/stand/vmunix returns&lt;BR /&gt;/stand/vmunix:  ELF-64 executable object file - PA-RISC 2.0 (LP64)&lt;BR /&gt;and the getconf return 64.&lt;BR /&gt;&lt;BR /&gt;If I'm compiling using +DA2.0 to generate 32 bit RISC 2.0 code, I don't see why this shouldn't work with the system libraries, etc. defined as RISC 1.1, but it doesn't.&lt;BR /&gt;&lt;BR /&gt;One additional point, when I say "doesn't work" it does execute a bit, and I can see the point it stopped at. It processes input data, writes something to an Oracle 9 db, generates a report and then stops dead, with no obvious reason for the stop. I've tried running it under gdb but didn't get a very useful message at the point where it stopped.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Aug 2004 03:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-bit-compilation-on-64-bit-machine/m-p/3345350#M869805</guid>
      <dc:creator>Norman Allen_1</dc:creator>
      <dc:date>2004-08-03T03:03:11Z</dc:date>
    </item>
  </channel>
</rss>

