At 1:49 PM -0600 7/8/01, Warner Losh wrote:
>In message <[EMAIL PROTECTED]> "David O'Brien" writes:
>: On Sun, Jul 08, 2001 at 07:03:26PM +0200, Dag-Erling Smorgrav wrote:
>: > Bruce Evans <[EMAIL PROTECTED]> writes:
>: > > [explaining how to build an LP64 world on i386]
>: >
>: > I just had a major "doh" moment...
>: >
>: > # cd /usr/src
>: > # make MACHINE_ARCH=alpha buildworld >& /var/log/world.alpha &
>: > [1] 13655
>: >
>: > Ought to catch any Alpha WARNS fuckups.  Or did I overlook something?
>:
>: It doesn't work anymore.
>
>What's the misfunction?  I do the above with MACHINE_ARCH=pc98 on my
>i386 box all the time to build pc98 worlds.


It probably works since i386 and pc98 are similar. I'm trying an 
alpha cross build as we speak. So far I needed to apply this patch to 
get around having -mcpu=ev4 being fed to the i386 compiler during the 
build tools phase.


Index: Makefile.inc1
===================================================================
RCS file: /cvs/freebsd/src/Makefile.inc1,v
retrieving revision 1.205
diff -u -r1.205 Makefile.inc1
--- Makefile.inc1       2001/06/14 01:35:22     1.205
+++ Makefile.inc1       2001/07/08 20:06:34
@@ -185,6 +185,7 @@
  # build-tool stage
  TMAKEENV=     MAKEOBJDIRPREFIX=${OBJTREE} \
                INSTALL="sh ${.CURDIR}/tools/install.sh" \
+               MACHINE_ARCH=`uname -m` \
                PATH=${TMPPATH}
  TMAKE=                ${TMAKEENV} ${MAKE} -f Makefile.inc1


Mark

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to