- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 32 bit ?? 64 bit???
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
Forums
Discussions
Discussions
Discussions
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
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
01-16-2004 08:57 PM
01-16-2004 08:57 PM
What commant / Utility helps u to find this out.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2004 09:12 PM
01-16-2004 09:12 PM
SolutionSingapore https://www.beepz.com/personal/merijn/#FAQ
Rotterdam http://www.cmve.net/~merijn/#FAQ
Seattle http://ww.hpux.ws/merijn/#FAQ
you can read:
--8<---
Does my system support 64bit builds
You can find out if your kernel supports 64bit binaries by issuing:
a5:/usr/local 110 > file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
a5:/usr/local 111 > getconf KERNEL_BITS
64
a5:/usr/local 112 > getconf HW_32_64_CAPABLE
1
a5:/usr/local 113 >
HP-UX 10.20 does not support 64bit objects
How can I see if my program is a 64bit object?
a5:/usr/local 108 > file pa*/bin/gcc
pa11_32/bin/gcc: PA-RISC1.1 shared executable dynamically linked -not stripped
pa20_32/bin/gcc: PA-RISC2.0 shared executable dynamically linked -not stripped
pa20_64/bin/gcc: ELF-64 executable object file - PA-RISC 2.0 (LP64)
a5:/usr/local 109 >
How can I see how my binary was compiled?
Provided your binary isn't stripped, and it is 32bit SOM that info should be reveiled with odump -compunit
Provided your binary isn't stripped, and it is 64bit ELF (LP64) that info should be reveiled with elfdump -dc
Do I need 64bit gcc?
You only need 64bit gcc if you have to build 64bit binaries. gcc/64 cannot build 32bit binaries, so if you need both, you need two versions/builds of gcc
Do I need a 64bit build of perl?
In general, no. You only need a 64bit build of perl when you have to link to 64bit objects/libraries of other applications, such as Oracle. 32bit build Oracle does not play nice with 64bit build of perl or the other way round.
-->8---
and lots more
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2004 09:35 PM
01-16-2004 09:35 PM
Re: 32 bit ?? 64 bit???
I want to know if the installed apps is 32 bit or 64 bit.
I am not asking abt the support of 32bit or 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2004 09:41 PM
01-16-2004 09:41 PM
Re: 32 bit ?? 64 bit???
--8<---
a5:/usr/local 108 > file pa*/bin/gcc
pa11_32/bin/gcc: PA-RISC1.1 shared executable dynamically linked -not stripped
pa20_32/bin/gcc: PA-RISC2.0 shared executable dynamically linked -not stripped
pa20_64/bin/gcc: ELF-64 executable object file - PA-RISC 2.0 (LP64)
a5:/usr/local 109 >
How can I see how my binary was compiled?
Provided your binary isn't stripped, and it is 32bit SOM that info should be reveiled with odump -compunit
Provided your binary isn't stripped, and it is 64bit ELF (LP64) that info should be reveiled with elfdump -dc
-->8---
Your application is 64bit if you see ELF64 or LP64
the utils are 'file', 'odump', and 'elfdump'
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2004 09:49 PM
01-16-2004 09:49 PM
Re: 32 bit ?? 64 bit???
do
#file '
if returns ELF-64 executable object, it is 64bit.
if returns something like PA-RISC2.0 shared executable, it is 32bit.
regards.