From owner-freebsd-current Fri Aug 17 9: 2:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 6702737B406 for ; Fri, 17 Aug 2001 09:02:04 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f7HG20S31588; Fri, 17 Aug 2001 19:02:00 +0300 (EEST) (envelope-from ru) Date: Fri, 17 Aug 2001 19:02:00 +0300 From: Ruslan Ermilov To: current@FreeBSD.ORG Cc: Bruce Evans , Warner Losh Subject: Re: Cross builds and upgrade path from 4.x are broken in usr.bin/file Message-ID: <20010817190200.B28846@sunbay.com> References: <20010810110151.B7988@sunbay.com> <20010810235643.Y23367-100000@besplex.bde.org> <20010810173751.B60193@sunbay.com> <20010817084910.D5916@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010817084910.D5916@dragon.nuxi.com>; from dev-null@NUXI.com on Fri, Aug 17, 2001 at 08:49:10AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 17, 2001 at 08:49:10AM -0700, David O'Brien wrote: > On Fri, Aug 10, 2001 at 05:37:51PM +0300, Ruslan Ermilov wrote: > > I can't believe I hear that from you, Bruce. :-) > > Generation at install time is a damn bad idea, please see below. > [...] > > 1. This won't work for cross-platform installworld, since ./file > > is targetted for a different platform. (My version builds the > > xfile build-tool for the build platform and compiles .mgc files > > in ${.OBJDIR}.) > > You are generalizing. It breaks cross-platform installworld when done on > the build host. It does not break cross-platform installworlds when done > on the target host. We should decide if a cross-platform must be > installworld'able on the host, target, or both. > If we build at build time only, we always build on build host. And that will work in both cases of cross-platform installworld, as it won't build anything during install time. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message