- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- building 32 bit using gcc on 64 bit 11i
Operating System - HP-UX
1820879
Members
5220
Online
109628
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО11-19-2001 12:39 PM
тАО11-19-2001 12:39 PM
building 32 bit using gcc on 64 bit 11i
Hi,
I have installed hp-ux 11.11 64 bit on a N4000 mchine.
I have to build a 32 bit appln on this machine using gcc. I have installed the 64 bit version of gcc but does not show any flags on how to build a 32 bit appln.
Any pointers?
Thanks
Gopi
I have installed hp-ux 11.11 64 bit on a N4000 mchine.
I have to build a 32 bit appln on this machine using gcc. I have installed the 64 bit version of gcc but
Any pointers?
Thanks
Gopi
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2001 12:42 PM
тАО11-19-2001 12:42 PM
Re: building 32 bit using gcc on 64 bit 11i
Go there http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
In fact, There are separate compilers for building ILP32 and LP64 executables on HPPA. The ILP32 compiler is located in /usr/local/bin and the LP64 compiler is located in /usr/local/pa20_64/bin. The HPPA LP64 compiler will automatically generate LP64 code -- no special arguments need to be passed. For the IPF compiler, the command-line argument -mlp64 should be used to have the compiler generate LP64 code.
In fact, There are separate compilers for building ILP32 and LP64 executables on HPPA. The ILP32 compiler is located in /usr/local/bin and the LP64 compiler is located in /usr/local/pa20_64/bin. The HPPA LP64 compiler will automatically generate LP64 code -- no special arguments need to be passed. For the IPF compiler, the command-line argument -mlp64 should be used to have the compiler generate LP64 code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2001 02:47 PM
тАО11-19-2001 02:47 PM
Re: building 32 bit using gcc on 64 bit 11i
I looked at the flags to gcc and the only hppa specific flag that seems relevant is
-mpa-risc-1-0 (or -mpa-risc-1-1 or -mpa-risc-2-0)
When I build a simple source with one of these flags and do a file on the executable, they are all
ELF-64 executable object file PA-RISC 2.0 (LP64)
irrespective of which -mpa-risc flag I use.
Gopi
-mpa-risc-1-0 (or -mpa-risc-1-1 or -mpa-risc-2-0)
When I build a simple source with one of these flags and do a file on the executable, they are all
ELF-64 executable object file PA-RISC 2.0 (LP64)
irrespective of which -mpa-risc flag I use.
Gopi
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP