This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Building GDB 7.3.92 with MinGW
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 10 Jan 2012 22:56:15 +0200
- Subject: Re: Building GDB 7.3.92 with MinGW
- References: <83hb03e9sx.fsf@gnu.org> <m3k44zid81.fsf@fleche.redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tromey@redhat.com>
> Cc: gdb-patches@sourceware.org
> Date: Tue, 10 Jan 2012 12:12:14 -0700
>
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>
> Eli> Any objections to the following patch? (If approved, I will add a
> Eli> comment explaining the problem on Windows which requires this.)
> Eli> --- gdb/gdb_curses.h~0 2012-01-06 06:43:14.000000000 +0200
> Eli> +++ gdb/gdb_curses.h 2012-01-10 13:21:10.626119900 +0200
> Eli> @@ -27,6 +27,9 @@
> Eli> #elif defined (HAVE_CURSESX_H)
> Eli> #include <cursesX.h>
> Eli> #elif defined (HAVE_CURSES_H)
> Eli> +#if defined(__MINGW32__) && defined(MOUSE_MOVED)
> Eli> +#undef MOUSE_MOVED
> Eli> +#endif
> Eli> #include <curses.h>
> Eli> #endif
>
> I don't really mind this patch. But, why is this something for gdb to
> solve rather than mingw?
Unlikely: it's the problem between PDCurses and the MS-Windows API
header files.
> Eli> 2. "make install-strip" fails in readline/, in sim/, and in gdb/:
>
> Eli> The reason is that these directories simply don't have the
> Eli> "install-strip" target in their Makefile.in files. I think that
> Eli> target should be added, because that's AFAIK how GDB is supposed to
> Eli> be installed on end-user systems.
>
> This is in the GNU standards, but in practice few people use it.
>
> Of course, patches are welcome. This isn't the only places where gdb's
> Makefiles diverge from the standards.
I'll try.