- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 64 Bit GDB
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
05-02-2007 12:01 AM
05-02-2007 12:01 AM
64 Bit GDB
Has any one compiled 64 bit gdb on HPUX(RISC).
I am using a gcc compiler and i am passing the following parameters
cc="gcc -m64" ./configure, once the installion is done and i do a file on the output file, it says
# file gdb
gdb: PA-RISC2.0 shared executable dynamically linked -not stripped
Does this mean that it is a 64 bit file? the same parameter on soalris did produce a 64 bit executable.
Any thoughts?
Regards,
pattabhi Raman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 12:06 AM
05-02-2007 12:06 AM
Re: 64 Bit GDB
Certain binaries do not execute on a PA-RISC 1.1 system (HP-UX 10.20, some HP-UX 11.0 systems), because they were inadvertantly compiled for PA-RISC 2.0 only.
Example.:
$file myprog.c
s800 shared executable dynamically linked -not stripped
(this is PA_RISC 1.0 compatible and will ALSO run on PA_RISC 1.1)
$file myprog1.c
PA-RISC1.1 shared executable dynamically linked -not stripped
(this is PA_RISC 1.1 compatible ONLY)
You can specify the target architecture version at compile time by
specifying the +DAversion option on the cc(1) compiler:
$cc myprog1.c +DA1.1 -omyprog1
(compiles code for PA_RISC 1.1)
Specifying +DA1.0 or simply using the cc(1) default version compiles
code compatible with both PA_RISC 1.0 and PA_RISC 1.1 systems.
I hope this helps,
Marc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 04:44 PM
05-02-2007 04:44 PM
Re: 64 Bit GDB
No. This is still 32 bit.
>Marco: Specifying +DA1.0 or simply using the cc(1) default version compiles code compatible with both PA_RISC 1.0
+DA1.0 is NOT supported. All PA1.0 machines are not supported on 10.20
The +DA default compiles only for the current machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 06:33 PM
05-02-2007 06:33 PM
Re: 64 Bit GDB
The same steps followed on Solaris gave me this output
file /usr/local/bin/gdb
/usr/local/bin/gdb: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped
But why not on HP?
IS there a way or any options that i need to use to compile gdb for 64 bit mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 11:23 PM
05-02-2007 11:23 PM
Re: 64 Bit GDB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 03:20 AM
05-03-2007 03:20 AM
Re: 64 Bit GDB
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 11:41 AM
05-03-2007 11:41 AM
Re: 64 Bit GDB
This is not true. HP compilers will allow you to specify +DD64 or a +DA option on a machine that doesn't support it.