Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver

Pedro Alves
2011-02-23T22:49:32Z

On Wednesday 23 February 2011 21:50:28, Mark Kettenis wrote:

> We require that the base system can compile itself, and
> we won't include GNU make in the base system since we have a perfectly
> fine BSD licensed alternative.

Nothing in what I suggest would prevent the base system from
compiling itself. I fail to see how BSD would end being
less "pure" by including the GNU make sources along
the GNU compiler and GNU debugger's sources (put it in
the GNU gcc's directory in the repository, or in the
same source tarballs, if you don't want to taint BSD
only directories with GNU code... It won't be worse
than what you have now), and treat GNU make as part of the
latter (if you want to think of it that way). With my suggestion,
GNU make does _not_ end up installed in the base system binaries.
It's only used for bootstrapping the compiler, and you can delete
it immediately afterwards. Think of it as the top level
src/configure first building src/gmake, and only then building
src/gcc in a compiled tree.

Beats hacking gcc's build system at every gcc release
if you ask me; and shifts the solution to a BSD problem
to the BSD side...

--
Pedro Alves