This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
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: Mark Kettenis <mark dot kettenis at xs4all dot nl>, brobecker at adacore dot com, tromey at redhat dot com, yao at codesourcery dot com
- Date: Sun, 20 Feb 2011 21:47:43 +0000
- Subject: Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver
- References: <4D30E23F.3080103@codesourcery.com> <20110219135014.GB17297@adacore.com> <201102191722.p1JHMfh5027149@glazunov.sibelius.xs4all.nl>
On Saturday 19 February 2011 17:22:41, Mark Kettenis wrote:
> Move forward? In what direction? We have a POSIX compatible make
> implementation. We have our own set of extensions on top of that. It
> doesn't make sense to add GNU extensions as well. And it doesn't make
> sense for us to switch from BSD make to GNU make.
Why not have gmake as a build dependency for gdb/gcc, but not as an
install dependency? Even if your packaging system can't handle that,
I'd think that bundling gmake's sources along with gccs or gdbs
sources, and tweaking the build scripts to build that gmake first,
point PATH at it, and then build gcc, should be much simpler and
much less maintenance than rewriting gcc's Makefiles.
--
Pedro Alves