Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 15:43:30 -0700
From:      "David O'Brien" <current@FreeBSD.ORG>
To:        Mark Peek <mark@whistle.com>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, Warner Losh <imp@harmony.village.org>, current@FreeBSD.ORG
Subject:   Re: Cross building FYI
Message-ID:  <20010710154330.A98432@dragon.nuxi.com>
In-Reply-To: <p05100317b770dbc6dcd4@[207.76.207.129]>; from mark@whistle.com on Tue, Jul 10, 2001 at 01:29:32PM -0700
References:  <200107082141.f68LfVJ13849@harmony.village.org> <xzpr8vqoqb4.fsf@flood.ping.uio.no> <p05100317b770dbc6dcd4@[207.76.207.129]>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<machine>/ 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010710154330.A98432>