[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] Success debugging on 64-bit Solaris/Sparc
From: |
John O Goyo |
Subject: |
[Gm2] Success debugging on 64-bit Solaris/Sparc |
Date: |
Fri, 12 Oct 2007 17:23:27 -0400 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070221) |
Recall that I was unable to debug a binary compiled with 64-bit gm2 on
Solaris/Sparc. After trial, error, and investigation, the reason is
that one needs a 64-bit gdb to debug 64-bit binaries on Solaris/Sparc.
After building such a beast, I was able to debug without problems.
Should anyone else wish to build said beast, please note the following:
1. You must use a 64-bit gcc to compile.
2. Specify --host=sparc64-sun-solaris2 --disable-tui.
(GDB's configure ignores sparcv9-sun-solaris2, unlike GCC's configure,
and the latter is to eliminate ncurses dependencies on Unix systems.)
Sincerely,
john
- [Gm2] Success debugging on 64-bit Solaris/Sparc,
John O Goyo <=