- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PA-RISC2.0 == 64-bit??
Operating System - HP-UX
1753730
Members
4721
Online
108799
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
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
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
тАО05-31-2005 09:05 AM
тАО05-31-2005 09:05 AM
Pretty basic question here, but not finding the answer via google searches...
I want to know if I'm successfully building a 64-bit executable. Here's the output:
$model
9000/800/rp8420
$uname -a
HP-UX ... B.11.23 U 9000/800 ...
$file psql
psql: PA-RISC2.0 shared executable dynamically linked -not stripped
Does this definitively identify the executable as a 64-bit executable?
On a related note, does the following definitively identify the executable as a 32-bit executable on the same box?
Thanks,
Ed
Thanks,
Ed
I want to know if I'm successfully building a 64-bit executable. Here's the output:
$model
9000/800/rp8420
$uname -a
HP-UX ... B.11.23 U 9000/800 ...
$file psql
psql: PA-RISC2.0 shared executable dynamically linked -not stripped
Does this definitively identify the executable as a 64-bit executable?
On a related note, does the following definitively identify the executable as a 32-bit executable on the same box?
Thanks,
Ed
Thanks,
Ed
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 09:21 AM
тАО05-31-2005 09:21 AM
Solution
I don't have an 11.23 box handy to test but I don't think so. I think your message is telling your that is it is a PA2.0 instruction set with a 32-bit data model.
Here's a good way to test:
create a very baby c program:
int main()
{
(void) printf("Hello world\n");
return(0);
} /* main */
---------------------------
Now compile it:
cc +DD64 baby.c -o baby64
Compile again as:
cc +DD32 baby.c -o baby32
Now run the file command on both baby32 and baby64 and you will know.
The chatr command is a good test because chatr baby64 should explicitly tell you if it is a 64-bit executable.
Here's a good way to test:
create a very baby c program:
int main()
{
(void) printf("Hello world\n");
return(0);
} /* main */
---------------------------
Now compile it:
cc +DD64 baby.c -o baby64
Compile again as:
cc +DD32 baby.c -o baby32
Now run the file command on both baby32 and baby64 and you will know.
The chatr command is a good test because chatr baby64 should explicitly tell you if it is a 64-bit executable.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 09:41 AM
тАО05-31-2005 09:41 AM
Re: PA-RISC2.0 == 64-bit??
I believe you should see a ELF-64 in the output of the file command for a 64-bit binary.
If you don't see the ELF-64 then it is a 32-bit binary. Yours, I am almost certain, is 32-bit PA-RISC 2.0 only (not compatible with 32-bit PA-RISC 1.*).
If you don't see the ELF-64 then it is a 32-bit binary. Yours, I am almost certain, is 32-bit PA-RISC 2.0 only (not compatible with 32-bit PA-RISC 1.*).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2005 04:24 AM
тАО06-01-2005 04:24 AM
Re: PA-RISC2.0 == 64-bit??
The default compilation mode on PA-RISC and Itanium, regardless of 32 or 64-bit hardware, is 32-bit. Unless you are adding +DD64 to your CFLAGS, you are creating a 32-bit object.
there is no rest for the wicked yet the virtuous have no pillows
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP