From owner-freebsd-current Tue Jul 10 15:44: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [206.40.252.115]) by hub.freebsd.org (Postfix) with ESMTP id EE7C137B491 for ; Tue, 10 Jul 2001 15:44:00 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f6AMhZM99411; Tue, 10 Jul 2001 15:43:35 -0700 (PDT) (envelope-from obrien) Date: Tue, 10 Jul 2001 15:43:30 -0700 From: "David O'Brien" To: Mark Peek Cc: Dag-Erling Smorgrav , Warner Losh , current@FreeBSD.ORG Subject: Re: Cross building FYI Message-ID: <20010710154330.A98432@dragon.nuxi.com> Reply-To: current@FreeBSD.ORG References: <200107082141.f68LfVJ13849@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mark@whistle.com on Tue, Jul 10, 2001 at 01:29:32PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 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 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. > and a normal build using > > make -DNOPERL MAKEOBJDIRPREFIX=/usr/iobj buildworld Huh? A normal build shouldn't need -DNOPERL and a MAKEOBJDIRPREFIX redifintion. > #----------------------------------------------------------------------- > Index: gnu/usr.bin/cc/f771/Makefile > =================================================================== > RCS file: /cvs/freebsd/src/gnu/usr.bin/cc/f771/Makefile,v > retrieving revision 1.6 > diff -u -r1.6 Makefile > --- gnu/usr.bin/cc/f771/Makefile 2000/03/15 05:13:53 1.6 > +++ gnu/usr.bin/cc/f771/Makefile 2001/07/10 19:36:13 > @@ -35,7 +35,7 @@ > .for i in 1t 2t fo io nq op ot > .ORDER: str-$i.h str-$i.j > str-$i.j str-$i.h: str-$i.fin fini > - ./fini ${GCCDIR}/f/str-$i.fin str-$i.j str-$i.h > + fini ${GCCDIR}/f/str-$i.fin str-$i.j str-$i.h This will use the one in the path, IIRC Marcel explicitly wanted "./fini" for the cross-build case. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message