[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Success debugging on 64-bit Solaris/Sparc
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] Success debugging on 64-bit Solaris/Sparc |
Date: |
12 Oct 2007 22:48:24 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
John O Goyo <address@hidden> writes:
> 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
Hi John,
well done - this is excellent news. This definitely needs to be added
to the gm2 web page - the same issues might surround ppc64 ppc32 and
32 bit compat on non pure amd64 platforms.
regards,
Gaius