Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org, Sergio Durigan <sdurigan@redhat.com>
Subject: Re: [patch 2/2] Do not build libgdb.a by default
Date: Wed, 21 Dec 2011 13:12:00 -0000	[thread overview]
Message-ID: <20111221125919.GJ23376@adacore.com> (raw)
In-Reply-To: <20111221114720.GC25652@host2.jankratochvil.net>

> with the default build of only "gdb" after [patch 1/2] it no longer
> makes much sense to build *.o -> libgdb.a and then libgdb.a -> gdb.
> Use *.o files directly for gdb.  libgdb.a build is still supported for
> its rare users, it is just not built by the default rule.

Just wondering, who are the rare users? insight?

> gdb/
> 2011-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Build gdb directly from *.o files not using libgdb.a.
> 	* Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
> 	(COMMON_OBS): Remove solib-target.o.
> 	(LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
> 	(gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
> 	(LIBGDB_OBS, libgdb.a): Move it above.
> 	* configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
> 	(alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
> 	(alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
> 	(arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
> 	(arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
> 	(hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
> 	(i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
> 	(i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
> 	(i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
> 	(x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
> 	(i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
> 	(m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
> 	(microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
> 	(mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
> 	(mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
> 	(powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
> 	(powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
> 	(sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
> 	(sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
> 	(sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
> 	(sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
> 	(sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
> 	(sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
> 	(vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
> 	(x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
> 	(x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
> 	(xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.

I support this change. The patch looks good to me also.

-- 
Joel


  reply	other threads:[~2011-12-21 12:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 11:58 Jan Kratochvil
2011-12-21 13:12 ` Joel Brobecker [this message]
2011-12-21 14:01   ` Pierre Muller
2011-12-21 14:24     ` Joel Brobecker
2011-12-21 14:27       ` Pierre Muller
2011-12-21 19:18 ` Tom Tromey
2012-01-02  2:32   ` [commit] " Jan Kratochvil
2012-01-02 13:40 ` Pedro Alves
2012-01-02 14:02   ` [patch] Put solib-target.o back to COMMON_OBS [Re: [patch 2/2] Do not build libgdb.a by default] Jan Kratochvil
2012-01-02 17:12     ` Pedro Alves
2012-01-02 17:19       ` Jan Kratochvil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111221125919.GJ23376@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=sdurigan@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox