Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2000 14:53:11 -0600
From:      "Michael C . Wu" <keichii@iteration.net>
To:        freebsd-alpha@freebsd.org
Subject:   Crosscompiling from x86 host to alpha target
Message-ID:  <20001111145311.A18007@peorth.iteration.net>

next in thread | raw e-mail | index | archive | help
Hi guys,

I am trying to use our basesystem gcc to cross compile
to an Alpha from my x86 box.  David O'Brien told me to use

export TARGET_MACHINE=alpha
make buildworld

I have done so and it appears to keeps compiling to x86 instead of to Alpha
peorth:/home/keichii/alphasrc/src# export TARGET_MACHINE=alpha
peorth:/home/keichii/alphasrc/src# env|grep TARGET
TARGET_MACHINE=alpha
peorth:/home/keichii/alphasrc/src# make buildworld

--------------------------------------------------------------
>>> Rebuilding the temporary build tree
--------------------------------------------------------------
rm -rf /usr/obj/usr/home/keichii/alphasrc/src/i386
mkdir -p /usr/obj/usr/home/keichii/alphasrc/src/i386/usr/bin
mkdir -p /usr/obj/usr/home/keichii/alphasrc/src/i386/usr/lib/compat/aout
mkdir -p /usr/obj/usr/home/keichii/alphasrc/src/i386/usr/games
mkdir -p /usr/obj/usr/home/keichii/alphasrc/src/i386/usr/libdata/ldscripts
mkdir -p /usr/obj/usr/home/keichii/alphasrc/src/i386/usr/libexec/elf
mkdir -p /usr/obj/usr/home/keichii/alphasrc/src/i386/usr/sbin
[..]
It compiles to finish, and the result in usr/obj is x86 binaries that
I can run on x86.

Has anyone had any luck doing so?

--
+------------------------------------------------------------------+
| keichii@peorth.iteration.net         | keichii@bsdconspiracy.net |
| http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. |
+------------------------------------------------------------------+


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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