This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: building gdb with TUI support on Windows
- From: Ofir Cohen <ofircohenn at gmail dot com>
- To: Hannes Domani <ssbssa at yahoo dot de>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Sun, 28 Dec 2014 18:41:14 +0200
- Subject: Re: building gdb with TUI support on Windows
- Authentication-results: sourceware.org; auth=none
- References: <83h9whkkph dot fsf at gnu dot org> <1716575811 dot 1998535 dot 1419775088162 dot JavaMail dot yahoo at jws11115 dot mail dot ir2 dot yahoo dot com>
Hi Hannes,
Thanks a lot for the reply.
It seems like one has to hack his own way through the code,
and concrete steps / further description will be very helpful in my case.
> I only had to change tputs() a bit.
Could you please describe what changes are required there?
I just commented it out, but I'm not sure that's enough.
> Since then I switched to pdcurses, it works much better (+faster) on windows.
What environment and configuration did you use for building it?
Do you just:
./configure --prefix=/mingw
make
make install
and build gdb (in my case it's msys/msys2)?
Or you needed to hack a little bit more (since PDCurses will not be
found by default by configure)
by adding for example some symbolic links from pdcurses libraries to ncurses?
Thanks,
Ofir Cohen
On 28 December 2014 at 15:58, Hannes Domani <ssbssa@yahoo.de> wrote:
> Eli Zaretskii <eliz@gnu.org> schrieb am 19:32 Samstag, 27.Dezember 2014:
>> > Date: Sat, 27 Dec 2014 14:39:46 +0000 (UTC)
>> > From: Hannes Domani <ssbssa@yahoo.de>
>> >
>> > You might want to check out this link (plus the comments):
>> > http://opensourcepack.blogspot.co.at/2012/02/gdb-74-with-tui-win32.html
>>
>> Thank. May I encourage you to report those problems with the patches?
>> It would be nice to have them upstream (the latest version of GDB is
>> 7.8.1, with 7.9 looming).
>
> I forgot that I only had these problems with ncurses.
> Since then I switched to pdcurses, it works much better (+faster) on windows.
>
> I only had to change tputs() a bit.