Re: [PATCH] Enable building GDB without installed libtermcap

Eli Zaretskii
2015-02-26T18:55:03Z

> Date: Thu, 26 Feb 2015 18:44:53 +0000
> From: Pedro Alves <palves@redhat.com>
> CC: bernd.edlinger@hotmail.de, gdb-patches@sourceware.org, dje@google.com,
> vapier@gentoo.org
>
> > Which version of GCC is the minimal one we want to support?
>
> Hard to say at this point. I'd hope we'd move to requiring
> something more recent than 3.4.x. From past discussions, I was
> assuming we'd start by requiring 4.2 at least when finally require
> C++.

I don't have that. Someone should check if it supports this
attribute.

> Given that this stub file never needed these variables while it was
> Windows-only, how about we simply not define the variables if
> compiling for mingw/cygwin, but define them as weak everywhere else?

Works for me, thanks.