From owner-freebsd-current Thu Nov 21 11:31:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA80937B401; Thu, 21 Nov 2002 11:31:21 -0800 (PST) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3119F43E8A; Thu, 21 Nov 2002 11:31:21 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0097.cvx40-bradley.dialup.earthlink.net ([216.244.42.97] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18Ex2g-0002sL-00; Thu, 21 Nov 2002 11:31:14 -0800 Message-ID: <3DDD3432.2E7950A@mindspring.com> Date: Thu, 21 Nov 2002 11:29:54 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Ruslan Ermilov Cc: "M. Warner Losh" , current@FreeBSD.org Subject: Re: Cross-Development with NetBSD References: <20021121151714.U961-100000@squirm.dsto.defence.gov.au> <20021121.001014.56348240.imp@bsdimp.com> <20021121102050.GC81999@sunbay.com> <20021121.062809.64538355.imp@bsdimp.com> <20021121142826.GA12467@sunbay.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Ruslan Ermilov wrote: > > NetBSD builds a directory full of tools that you can later use to > > incrementally build, say, 'ls' or 'cat' because one can define > > USETOOLS to be 'yes' and have the make automatically pick them up when > > rebuilding. There are a few of the details I'm a little unclear on, > > but that's the jist of it. > > We also can, this just requires a few really tiny tweaks to Makefile.inc1, > and I've posted them already some time ago -- basically, for each architecture > you should build the subset of buildworld targets (WMAKE_TGTS), up to and > including _libraries (if you want to build roughly any bit later), and > them you can ``make {depend|all} SUBDIR_OVERRIDE=bin/cat'' for each of > the desired TARGET_ARCH. Any ETA on when this will be committed? > I know that the Alpha and sparc64 binaries produced on i386 work. I thought that the Alpha boot blocks ended up too large in the cross-build case? They did, last time I tried it. > I know that cross-compiling i386 on either Alpha or sparc64 is > broken (GCC sometimes produces different assembler output than > the native compiler). I lack the necessary hardware to actually > test/fix the issues with cross-releases. I don't think he was attacking you, personally, to ask you to fix the problem, I think he was just noting the problem exists. One thing that would help a lot -- and probably be helpful in general -- would be a binary compare tool that ignored date stamps in things like libraries, tar images, etc., so that you could compare where things differ, easily, allowing someone to track down differences. It would be helpful in general to be able to compare what you built vs. a release version, to assemble binary only delta lists, for preparations for upgrade tools, etc.. I keep meaning to do this, but I really don't want to have to release the tool under the GPL, if I don't have to. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message