This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB on Solaris 10
> > CC="gcc -m64" ./configure --disable-tui
> > make
>
> And I have a 64-bit GDB that kind of works! So thanks again for the
> help.
>
> For future reference I would be interested to know if this is the right
> way to compile 64-bit on Solaris, and (unless I have missed it) perhaps
> it needs to be documented somewhere?
Yes, that's the correct way as far as I know to build GDB on sparc64.
At AdaCore, we use a compiler that is 64bit by default, so we don't
need to specify CC="gcc -m64", but otherwise we do the same.
--
Joel