From owner-freebsd-alpha Sat Nov 11 12:53: 1 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id CFE2437B479 for ; Sat, 11 Nov 2000 12:52:58 -0800 (PST) Received: by peorth.iteration.net (Postfix, from userid 1001) id 2F4395730B; Sat, 11 Nov 2000 14:53:11 -0600 (CST) Date: Sat, 11 Nov 2000 14:53:11 -0600 From: "Michael C . Wu" To: freebsd-alpha@freebsd.org Subject: Crosscompiling from x86 host to alpha target Message-ID: <20001111145311.A18007@peorth.iteration.net> Reply-To: "Michael C . Wu" Mail-Followup-To: "Michael C . Wu" , freebsd-alpha@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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