- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Difference between "PA-RISC1.1 shared executab...
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
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
тАО05-17-2006 07:43 PM
тАО05-17-2006 07:43 PM
Difference between "PA-RISC1.1 shared executable" & "ELF-64 executable object file"
Please tell me the difference between the following apache.
-bash-3.00# pwd
/opt/hpws/apache32/bin
-bash-3.00# file httpd
httpd: PA-RISC1.1 shared executable dynamically linked -not stripped dynamically linked
-bash-3.00# pwd
/opt/hpws/apache2058/bin
-bash-3.00# file httpd
httpd: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 07:48 PM
тАО05-17-2006 07:48 PM
Re: Difference between "PA-RISC1.1 shared executable" & "ELF-64 executable object file"
PA-RISC 1.1 is of httpd 32 bit executable. Where as, ELF-64 is 64 bit which runs only on 64 bit archicture. You can produce the with -mpa-risc-1.1 and -mpa-risc2.0 with GCC..
Hope this is clear.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 08:03 PM
тАО05-17-2006 08:03 PM
Re: Difference between "PA-RISC1.1 shared executable" & "ELF-64 executable object file"
The /opt/hpws/apache32/bin/httpd is the 32-bit version and the /opt/hpws/apache2058/bin/httpd is the 64-bit version.
You can run the 32-bit and 64-bit versions if your OS platform is 64-bit (as there is backward compatibility for 32-bit )
But you can have only 32-bit version if your OS is 32-bit.
You can check OS platform by
getconf KERNEL_BITS
Also note that there is limitation to how much memory 32-bit applications can access, whereas that of 64-bit is much much higher.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 09:38 PM
тАО05-17-2006 09:38 PM
Re: Difference between "PA-RISC1.1 shared executable" & "ELF-64 executable object file"
When you build apache on a PA-RISC, by default it is built as 64-bit.
How do I build a 32-bit apache on PA-RISC?
I used the below steps to build 32-bit apache on PA-RISC.
export CFLAGS="-mpa-risc-1-0"
export CC="gcc"
./configure --prefix=/opt/hpws/ap2058
make
make install
But looks like, it built 64-bit apache.
-bash-3.00# pwd
/opt/hpws/ap2058/bin
-bash-3.00# file httpd
httpd: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Please suggest.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 11:56 PM
тАО05-17-2006 11:56 PM
Re: Difference between "PA-RISC1.1 shared executable" & "ELF-64 executable object file"
I suspect you have installed 64 bit version of GCC. Try # file `which gcc` or try with # file
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 11:59 PM
тАО05-17-2006 11:59 PM
Re: Difference between "PA-RISC1.1 shared executable" & "ELF-64 executable object file"
I do not know if you can precompiled 64 bit binary for apache or not.