From owner-freebsd-alpha Thu Oct 25 10: 1:27 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id A44EB37B401; Thu, 25 Oct 2001 10:01:19 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f9PH1JM39621; Thu, 25 Oct 2001 10:01:19 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 509303808; Thu, 25 Oct 2001 10:01:19 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Ruslan Ermilov Cc: alpha@FreeBSD.ORG, developers@FreeBSD.ORG Subject: Re: cvs commit: src Makefile.inc1 In-Reply-To: <20011025192017.G41293@sunbay.com> Date: Thu, 25 Oct 2001 10:01:19 -0700 From: Peter Wemm Message-Id: <20011025170119.509303808@overcee.netplex.com.au> Sender: owner-freebsd-alpha@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: > On Thu, Oct 25, 2001 at 10:22:58AM -0400, Andrew Gallatin wrote: > [...] > > > I has successfully built 5.0-CURRENT alpha world and GENERIC > > > kernel on a 4.1-RELEASE machine. > > > > Nice! Do powerpc or sparc64 worlds build yet? > > > I don't believe so, but it we have a working cross-compiler, this > should be a one-week task. One thing that would be nice, and I have not had the patience to sit down and figure it out yet, is find some way to specify and use an *external* cross compiler and/or toolchain to do the cross build and exclude the in-tree compiler and/or toolchain. For example, the only thing that doesn't build on ia64 is the in-tree gcc. If it were possible to say: make TARGET_ARCH=ia64 EXTERNAL_CROSS_TOOLS=/usr/local/ia64/bin DESTDIR=/ia64 buildworld where /usr/local/ia64/bin had gcc, cc, as, ld, nm etc in it and have the world build skip the gcc-cross build (it will still need to build the host-gcc in order to build the rest of the build-tools), then that would be abosolutely wonderful. :-) I suspect this wont be too hard if it's done right, but I haven't sat down and walked through it. It may be as simple as plugging the supplied path into the cross $PATH and avoiding building local cross tools. This would probably require NO_GCC= and/or NO_BINUTILS= options as well (or NO_CROSS_GCC and/or NO_CROSS_BINUTILS to control skipping just the final stages of building the toolchain that is targeted to the [maybe unsupported yet] TARGET_ARCH) The amount of pain and suffering that this would save while bringing up a new port or compiler etc would be rather significant. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message