From owner-freebsd-current Tue Jul 10 20:48: 4 2001 Delivered-To: freebsd-current@freebsd.org Received: from alpo.whistle.com (s206m1.whistle.com [207.76.206.1]) by hub.freebsd.org (Postfix) with ESMTP id 0B85137B406 for ; Tue, 10 Jul 2001 20:48:02 -0700 (PDT) (envelope-from mark@whistle.com) Received: from [207.76.207.129] ([10.1.10.118]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id UAA68463 for ; Tue, 10 Jul 2001 20:46:14 -0700 (PDT) Mime-Version: 1.0 X-Sender: mark@207.76.206.1 Message-Id: In-Reply-To: <20010710163450.E98432@dragon.nuxi.com> References: <200107082141.f68LfVJ13849@harmony.village.org> <20010710154330.A98432@dragon.nuxi.com> <20010710163450.E98432@dragon.nuxi.com> Date: Tue, 10 Jul 2001 20:46:23 -0700 To: current@FreeBSD.ORG From: Mark Peek Subject: Re: Cross building FYI Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 At 4:34 PM -0700 7/10/01, current@FreeBSD.ORG wrote: >On Tue, Jul 10, 2001 at 04:04:51PM -0700, Mark Peek wrote: >> At 3:43 PM -0700 7/10/01, David O'Brien wrote: >> >On Tue, Jul 10, 2001 at 01:29:32PM -0700, Mark Peek wrote: >> >> Below are patches which allowed me to run an alpha cross build >> >> through to completion using: >> >> >> >> make -DNOPERL MACHINE_ARCH=alpha MAKEOBJDIRPREFIX=/usr/aobj >>buildworld >> > >> >Why is MAKEOBJDIRPREFIX=/usr/aobj needed? The cross build used to use >> >/usr/obj// quite nicely. >> >> It's not. I just wanted to have a different object directory than my >> normal one to ensure I wasn't getting any contamination in my >> compiles. I was just stating what I ran. > >It would be best to not include such "options" then as they just confuse >the issue... Is the -DNOPERL required also, or you just used it "just in >case"? David, thanks for the feedback. I reran the builds and these finish through to completion with my patches: make buildworld make MACHINE_ARCH=alpha buildworld Also, based on your feedback, I tried backing out the fortran change and moving it back to the build tools stage. The problem is f771 requires the include files from cc_tools which is now in the cross tools stage. Since the tools have the same dependencies, it is probably best to keep my patch the way it is since running the fortran build tool (fini) as "./fini" would run the target executable instead of the host executable. Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message