From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15436 invoked by alias); 23 Feb 2011 22:49:32 -0000 Received: (qmail 15428 invoked by uid 22791); 23 Feb 2011 22:49:32 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 Feb 2011 22:49:28 +0000 Received: (qmail 8498 invoked from network); 23 Feb 2011 22:49:26 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 23 Feb 2011 22:49:26 -0000 From: Pedro Alves To: Mark Kettenis Subject: Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver Date: Wed, 23 Feb 2011 22:50:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.6.0; x86_64; ; ) Cc: gdb-patches@sourceware.org, brobecker@adacore.com, tromey@redhat.com, yao@codesourcery.com References: <4D30E23F.3080103@codesourcery.com> <201102202147.44100.pedro@codesourcery.com> <201102232150.p1NLoS65030303@glazunov.sibelius.xs4all.nl> In-Reply-To: <201102232150.p1NLoS65030303@glazunov.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201102232249.24570.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00667.txt.bz2 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