This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Change gdb/common/ to use Automake [was: Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver]
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>, Yao Qi <yao at codesourcery dot com>
- Date: Mon, 14 Feb 2011 18:22:12 +0000
- Subject: Change gdb/common/ to use Automake [was: Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver]
- References: <4D30E23F.3080103@codesourcery.com> <m3pqquhcis.fsf@fleche.redhat.com> <m3r5bafqhl.fsf@fleche.redhat.com>
On Monday 14 February 2011, Tom Tromey wrote:
> Tom> This patch changes gdb/common/ to use Automake.
...
> It is vaguely bogus due to the dummy-config.h and PACKAGE_NAME stuff.
> Autoconf doesn't seem to let you turn this off, and we end up with
> conflicts. We can probably fix this more cleanly than I have below; I
> just want to get feedback on the idea before committing to that.
Is there any downside to this? My automake-foo is quite weak,
almost non-existant, so excuse me if this sounds dumb.
> +AM_INIT_AUTOMAKE([cygnus no-define no-dist -Wall])
Wasn't the cygnus mode deprecated? E.g., I see bfd/ stopped
using it in 2009.
I also realize that we lost -Werror under gdb/common/
with the switch to its own Makefile.
--
Pedro Alves