From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 18:55:45 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A6CE16A401; Fri, 22 Feb 2008 18:55:45 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.79]) by mx1.freebsd.org (Postfix) with ESMTP id 85FA813C4E5; Fri, 22 Feb 2008 18:55:45 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp007-s [10.150.69.70]) by smtpoutm.mac.com (Xserve/smtpout016/MantshX 4.0) with ESMTP id m1MItjek026845; Fri, 22 Feb 2008 10:55:45 -0800 (PST) Received: from mini-g4.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/asmtp007/MantshX 4.0) with ESMTP id m1MItg9a002483 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 22 Feb 2008 10:55:43 -0800 (PST) Message-Id: <50E680E4-4478-4932-925D-14291943732A@mac.com> From: Marcel Moolenaar To: Kai Wang In-Reply-To: <20080222182709.GC2622@plan0.kaiwan.csbnet.se> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 22 Feb 2008 10:55:41 -0800 References: <20080221140247.GC2022@plan0.kaiwan.csbnet.se> <20080221143351.GP57756@deviant.kiev.zoral.com.ua> <20080221152549.GB21518@team.vega.ru> <20080221173150.GA93693@dragon.NUXI.org> <20080222070728.GA56282@team.vega.ru> <20080222091642.GB57428@team.vega.ru> <20080222093234.GB17107@dragon.NUXI.org> <20080222102409.GD57428@team.vega.ru> <20080222182709.GC2622@plan0.kaiwan.csbnet.se> X-Mailer: Apple Mail (2.919.2) Cc: Joseph Koshy , current@freebsd.org, "Dag-Erling C. Smorgrav" Subject: Re: [HEADS UP] ar(1) front-end committed. (notes for cross compile) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 18:55:45 -0000 On Feb 22, 2008, at 10:27 AM, Kai Wang wrote: >> This should eliminate any and all kind of guessing and >> should help in getting FreeBSD buildable on non-FreeBSD >> systems as well. >> >> Just a thought... > > well... I know little about build system, but this sounds to me > like a "hack"... Also ru@ pointed out using /usr/bin/ar to build > world is a bug, I think he's right and probably always bootstrap > 'BSD' ar would be safer? I disagree, because following along those lines, we should rebuild everything we possibly use for a build, including /bin/sh. We only need to deal with bootstrapping and for that we have the corresponding target. This means that if we don't have BSD ar on the system (or we have it, but it's missing features we use), we build it. Otherwise we just use it. Mind you: this is just expressing my view point. I don't care in particular how we end up implementing it... -- Marcel Moolenaar xcllnt@mac.com