- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is there cc which support debugging of optimized 6...
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
12-17-2004 12:38 PM
12-17-2004 12:38 PM
Is there cc which support debugging of optimized 64-bit code
But when target binary is 64 bit, it doesn't work.
Is there any cc compiler that support '-g', '-O' option together?
environment:
#uname -a
HP-UX tmaxh4 B.11.11 U 9000/800 2618835799
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2004 12:49 PM
12-17-2004 12:49 PM
Re: Is there cc which support debugging of optimized 64-bit code
cc test.c -O -g +DA2.0W -o test_og -L. -lsh
cc: warning 483: The DOC (Debug of Optimized Code) option is unavailable with
e PA64 compiler; ignored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 02:39 AM
12-19-2004 02:39 AM
Re: Is there cc which support debugging of optimized 64-bit code
I really don't think is possible since the code, which the compiler generates is purly optimized to the 64 bit cpu, which does some runtime descisions, and might modify the way the code works, so debugging information might not be too helpful.
If it calms you down - debugging and optimization do not dance together on other OS's like Sun Solaris.
Thanks
Shay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 08:29 PM
12-19-2004 08:29 PM
Re: Is there cc which support debugging of optimized 64-bit code
The problem is not reproducible with my compiler cc version -
$ what /opt/ansic/bin/cc
/opt/ansic/bin/cc:
$Revision: 92453-07 linker linker crt0.o B.11.37 040218 $
LINT B.11.11.12 CXREF B.11.11.12
HP92453-01 B.11.11.12 HP C Compiler
$ PATCH/11.00:PHCO_27774 Oct 3 2002 09:45:59 $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 01:12 AM
12-20-2004 01:12 AM