- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 32 bit compilation on 64 bit machine
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
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
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
тАО07-29-2004 08:36 PM
тАО07-29-2004 08:36 PM
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.
Is there any way of creating 32bit code for a RISC2.0 machine?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 08:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 08:46 PM
тАО07-29-2004 08:46 PM
Re: 32 bit compilation on 64 bit machine
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.
manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2004 02:58 PM
тАО07-30-2004 02:58 PM
Re: 32 bit compilation on 64 bit machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2004 06:10 PM
тАО07-30-2004 06:10 PM
Re: 32 bit compilation on 64 bit machine
a. using GCC compiler option ,
-mpa-risc-1-1 --> PA-RISC 1.1 binary
-mpa-risc-2-0 --> PA-RISC 2.0 binary
b. using HP's C compiler option,
+DA1.1 --> PA-RISC 1.1 binary
+DA2.0 --> PA-RISC 2.0 binary { 32 bit }
+DA2.0w --> PA-RISC 2.0 binary { 64 bit }
-Saravanan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2004 11:37 PM
тАО08-01-2004 11:37 PM
Re: 32 bit compilation on 64 bit machine
If I compile with +DAportable to create RISC 1.1 32 bit code, our applications work.
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.
The file statement only says RISC1.1 or RISC2.0, but not if its 32 or 64 bit.
Can someone tell me how to check if it is genuine 32 bit code, and why this should hang our applications?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 12:22 AM
тАО08-02-2004 12:22 AM
Re: 32 bit compilation on 64 bit machine
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 01:05 AM
тАО08-02-2004 01:05 AM
Re: 32 bit compilation on 64 bit machine
We are running 11.11 with PHSS_30049. There doesn't seem to be an equivalent patch for 11i.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 01:11 AM
тАО08-02-2004 01:11 AM
Re: 32 bit compilation on 64 bit machine
On your 64bit opsystem, use file on the files in /usr/bin and you'll see some ELF's.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 03:18 AM
тАО08-02-2004 03:18 AM
Re: 32 bit compilation on 64 bit machine
That would explain why my attempts at creating RISC2.0 code fails!!!
I'm taking this up with my sysadmin guy, but in the meantime +DD32 or +DAportable works just fine.
When we have the time to port our applications from 32 to 64 bits, we'll have to change this!