This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR.
On 04/18/2012 10:28 AM, Jan Kratochvil wrote:
> On Wed, 18 Apr 2012 11:14:55 +0200, Pedro Alves wrote:
>> Clearly we'll not be able to make everybody happy.
>> I understood Jan's comment as a suggestion, not an objection, so
>> I'll take the path of least effort, and get this over with.
>
> To make clear I am curious how anyone can have two different directories of
> the same name, I often use things like "find src -name foo" and do something
> with it. I see there exist different preferences.
Okay, thinking some more, gnulib/import isn't that bad. I wrote initially:
On 04/17/2012 05:49 PM, Pedro Alves wrote:
> I thought of:
>
> gnulib/src/
> gnulib/import/
>
> but that ends up with the confusing:
>
> GNULIB_CFLAGS=-I$(srcdir)/gnulib/src -I$(GNULIB_BUILDDIR)/src
>
> Confusing because $(GNULIB_BUILDDIR)/src isn't really src, but the
> built libgnu.a and the generated headers.
But:
GNULIB_CFLAGS=-I$(srcdir)/gnulib/import -I$(GNULIB_BUILDDIR)/import
isn't that confusing. $(GNULIB_BUILDDIR)/import is the build of
the gnulib import.
Would that make everybody happy?
--
Pedro Alves
- References:
- Re: [PATCH] Link gnulib in gdbserver.
- [patch] Fix in-src-tree builds by gdbserver/gnulib/ copy [Re: [PATCH] Link gnulib in gdbserver.]
- Re: [patch] Fix in-src-tree builds by gdbserver/gnulib/ copy [Re: [PATCH] Link gnulib in gdbserver.]
- Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR.
- Re: Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR.
- Re: Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR.
- Re: Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR.
- Re: Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR.
- Re: Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR.
- Re: Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR.
- Re: Fix in-src-tree builds by making gdbserver/gnulib/ a separate library (a la libiberty, etc.), and adding ACX_CONFIGURE_DIR.