From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90604 invoked by alias); 15 Nov 2016 17:15:19 -0000 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 Received: (qmail 90587 invoked by uid 89); 15 Nov 2016 17:15:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=Hx-languages-length:1701, sk:svnweb., UD:freebsd.org, UD:svnweb.freebsd.org X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 15 Nov 2016 17:14:58 +0000 Received: by simark.ca (Postfix, from userid 33) id C10901E141; Tue, 15 Nov 2016 12:14:56 -0500 (EST) To: Pedro Alves Subject: Re: [PATCH 0/4] Makefile improvements and cleanups X-PHP-Originating-Script: 33:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 15 Nov 2016 17:15:00 -0000 From: Simon Marchi Cc: Andreas Schwab , gdb-patches@sourceware.org, John Baldwin In-Reply-To: <64d5f928-7710-d9a8-3e71-c87d74ef3414@redhat.com> References: <20161113034625.8237-1-simon.marchi@polymtl.ca> <968dffb716723c39a8a3cf0ab2d5bfca@polymtl.ca> <64d5f928-7710-d9a8-3e71-c87d74ef3414@redhat.com> Message-ID: <336d640aa718087f12f82e9cfa95bb1b@polymtl.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.2 X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg00379.txt.bz2 On 2016-11-15 11:56, Pedro Alves wrote: > On 11/13/2016 03:26 PM, Simon Marchi wrote: >> As an honest follow-up question: do we need to stay compatible with >> other makes than GNU make? From what I can see, Open/Net/FreeBSD all >> use gmake to build their port of GDB already. > > You mean their ports scripts? Can you provide some url for reference? Sure: FreeBSD has "USES = gmake" https://svnweb.freebsd.org/ports/head/devel/gdb/Makefile?view=co OpenBSD has "USE_GMAKE = Yes" http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/devel/gdb/Makefile?rev=1.45&content-type=text/plain NetBSD has "USE_TOOLS += gmake" http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/gdb/Makefile > John, could you comment from the FreeBSD side? > >> I don't know about other >> OSes on which people build GDB on (Windows, OS X, Solaris?). If GNU >> make is readily available on these, perhaps we can consider making it >> a >> requirement? > > I (and others) have argued before about requiring GNU Make. I think > last was here: > > https://sourceware.org/ml/binutils/2014-05/msg00263.html > > I think it makes a lot of sense. FWIW, whenever I build GDB on the > compile > farm on some non-GNU machine, like FreeBSD, AIX, NetBSD, etc., I've > always > used the preinstalled GNU make. > > Time to just do it? We'd need a NEWS entry, I suppose. I'll wait a bit to collect some more feedback, and if the idea seems accepted I'll do another series for: - Documenting the GNU make requirement - Using pattern rules (patches 1 and 2 of this series) In the mean time I'll prepare a v2 for patches 3 and 4, which don't depend on GNU make. Thanks, Simon