HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help finding out if a piece of code was compil...
Operating System - HP-UX
1834458
Members
2561
Online
110067
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
02-11-2002 01:33 PM
02-11-2002 01:33 PM
Hello,
HPUX 11.0, 64 bit.
N4000.
A have some code that was installed long time ago and like to know if it was compiled using 64 or 32 bit libraries. Is it possible? How?
Thanks in advance.
Luis
HPUX 11.0, 64 bit.
N4000.
A have some code that was installed long time ago and like to know if it was compiled using 64 or 32 bit libraries. Is it possible? How?
Thanks in advance.
Luis
We'll get through this together.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 01:39 PM
02-11-2002 01:39 PM
Solution
Type "file filename", that may or may not tell what the bit level is depending on how it was compiled.
GL,
C
GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 01:50 PM
02-11-2002 01:50 PM
Re: Help finding out if a piece of code was compiled with 32 or 64 bit
If it is an executable, the file command should work.
Example for a 64 bit program:
# file udt
udt: ELF-64 executable object-file - PA-RISC 2.0 (LP64)
If it doesn't say ELF-64, or it is a PA-RISC 1.1, then it should be safe to assume 32-bit.
Example for a 64 bit program:
# file udt
udt: ELF-64 executable object-file - PA-RISC 2.0 (LP64)
If it doesn't say ELF-64, or it is a PA-RISC 1.1, then it should be safe to assume 32-bit.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP