Re: Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR.

Mark Kettenis
2012-04-18T16:04:44Z

> Date: Wed, 18 Apr 2012 17:40:41 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> On Wed, 18 Apr 2012 15:03:34 +0200, Pedro Alves wrote:
> > On 04/18/2012 01:51 PM, Jan Kratochvil wrote:
> >
> > > On Wed, 18 Apr 2012 14:40:18 +0200, Pedro Alves wrote:
> > >> > This is no different from src/gdb/ vs build/gdb.
> > > I (and I guess most of the users) always use just in-src-tree-build with src/
> > > and no separate build/ .
> >
> > Eh. Why would you prefer doing things that way?
>
> This is offtopic but:
>
> After 6 years I still have not figured out a single reason why to do
> out-of-src-tree build. It is difficult to switch directories back and forth
> between editing .c files and running make.

1. The ability to build native debuggers for mutiple platforms from a
single (NFS mounted) source tree.

2. The ability to wipe a single build with a simple rm -rf command.

Now can we please go back to discuss diffs to actually improve GDB?