Re: [PATCH] Enable building GDB without installed libtermcap

Eli Zaretskii
2015-02-23T21:00:34Z

> Date: Mon, 23 Feb 2015 15:33:28 -0500
> From: Mike Frysinger <vapier@gentoo.org>
> Cc: palves@redhat.com, bernd.edlinger@hotmail.de,
> gdb-patches@sourceware.org
>
> On 23 Feb 2015 21:44, Eli Zaretskii wrote:
> > From: Mike Frysinger <vapier@gentoo.org>
> > > on the topic though, i've just used PDCurses in the past for Windows:
> > > http://pdcurses.sourceforge.net/
> > > it's trivial to cross-compile and works great in Windows.
> >
> > Ncurses is also available on Windows.
>
> in my experience, pdcurses is easier to build than ncurses, especially
> cross-compiling

No need to build ncurses, just download and use:

http://invisible-island.net/datafiles/release/mingw32.zip
http://invisible-island.net/datafiles/release/mingw64.zip
http://sourceforge.net/projects/ezwinports/files/ncurses-5.9-w32-bin.zip/download

(I've just built GDB 7.9 with TUI using the last of these 3 URLs.)