From owner-freebsd-current Wed Jun 28 1:22:26 2000 Delivered-To: freebsd-current@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id 8EDEA37B5EC; Wed, 28 Jun 2000 01:22:18 -0700 (PDT) (envelope-from nbm@sunesi.net) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 137D6t-000Bub-00; Wed, 28 Jun 2000 10:22:15 +0200 Date: Wed, 28 Jun 2000 10:22:15 +0200 From: Neil Blakey-Milner To: John Baldwin Cc: David O'Brien , current@FreeBSD.ORG, Mark Murray Subject: Re: Bootstrapping perl (Re: cvs commit: src/gnu/usr.bin/perl Mak Message-ID: <20000628102215.A45652@mithrandr.moria.org> References: <20000626140615.H64105@dragon.nuxi.com> <200006270941.CAA00980@john.baldwin.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200006270941.CAA00980@john.baldwin.cx>; from jhb@FreeBSD.ORG on Tue, Jun 27, 2000 at 02:41:25AM -0700 Organization: Sunesi Clinical Systems X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue 2000-06-27 (02:41), John Baldwin wrote: > > On 26-Jun-00 David O'Brien wrote: > > On Mon, Jun 26, 2000 at 10:28:53PM +0200, Mark Murray wrote: > >> > Since I'm now through it, I don't know the latest problem, but the > >> > last thing I saw that the old lib got used with the new perl (or the > >> > other way round) and that looks like it can be fixed with some path > >> > adjustments. > >> > >> The problem here is that miniperl needs to be built early enough > >> to be in the path perl "proper" is done. > >> > >> I thought build-tools was the answer; sadly that seems to be wrong. > >> Now I'm looking at cross-tools (out of src/makefile.inc1). > > > > Adding something to bootstrap-tools implies that we can't use the > > installed miniperl (backward compatibility problem) or the host doesn't > > have miniperl. The bootstrap-tools built miniperl would then be used > > throughout the build and install stages. > > I think that's what we have in this case. We need the newer version of > miniperl to build perl, correct? Yes, exactly. We were only building libperl (statically) and miniperl in the build-tools stage, so that miniperl (statically linked with libperl) is available for the building later. The choice to use crosstools is easier, since it by default installs the tool into the "strict path", but Mark used build-tools and a path to miniperl to do it instead, presumably since it is restricted to a very minor bit of the tree. (This reminds me that I have a skeleton document about 'make world' that needs serious attention. Too many projects.) Neil -- Neil Blakey-Milner Sunesi Clinical Systems nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message