From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 4 16:08:31 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F2451065671; Tue, 4 Mar 2008 16:08:31 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 131898FC1F; Tue, 4 Mar 2008 16:08:30 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id m24G7uCW003415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 4 Mar 2008 18:08:07 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m24G7pxL003559; Tue, 4 Mar 2008 18:07:51 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m24G7p0u003540; Tue, 4 Mar 2008 18:07:51 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 4 Mar 2008 18:07:51 +0200 From: Giorgos Keramidas To: Robert Watson Message-ID: <20080304160750.GC95950@kobe.laptop> References: <20080303.224256.635730757.imp@bsdimp.com> <20080304151326.J41184@fledge.watson.org> <20080304153730.GA61036@kobe.laptop> <20080304154339.L41184@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080304154339.L41184@fledge.watson.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.975, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.42, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: hackers@freebsd.org Subject: Re: Comments on pmake diffs for building on Linux X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 16:08:31 -0000 On 2008-03-04 15:45, Robert Watson wrote: >> The next part, about the missing errx() functions on Solaris is going to >> be tonight's fun. If there are too many missing functions, it may be >> worth adding a static `libcompat' with copies of just the functions we >> need to run BSD make on non-BSD hosts. > > It's beginning to sound like it would be really nice to have an > autoconf'd/automake'd version of our make to drop onto Linux, Solaris, > etc, etc, systems in order to bootstrap our compile. Thanks :) > I share Warner's reluctance to add autoconf parts to our native build, > but having 'bsdmake' as a starting point is useful, and would put > those other platforms more at parity with Mac OS X as a starting point > (probably ahead due to more accessible native build tools). I'm a bit > surprised there isn't already a Linux 'bsdmake' package floating > around... There's always `pmake', and the `bmake' that NetBSD uses to bootstrap itself using their `build.sh' script and a POSIX shell, but there are a couple of details which may inhibit these from being useful for bootstrapping FreeBSD. The `pmake' package of Linux distributions[1] is based on NetBSD make sources. While NetBSD make is probably 90% of what we need to bootstrap FreeBSD, it's still *not* FreeBSD make :/ [1] http://packages.debian.org/etch/pmake > (When I say 'nice' above, I mean it in the normal autoconf sense of the > word 'nice', so don't take that the wrong way!) I lost you there.