From owner-freebsd-alpha Sat Nov 11 13: 6:54 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id BF5EF37B479 for ; Sat, 11 Nov 2000 13:06:51 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id 2B78E477; Sat, 11 Nov 2000 13:06:51 -0800 (PST) Received: from cup.hp.com (p1000180.nsr.hp.com [15.109.0.180]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id NAA29247; Sat, 11 Nov 2000 13:06:50 -0800 (PST) Message-ID: <3A0DB4E9.C6C5D067@cup.hp.com> Date: Sat, 11 Nov 2000 13:06:49 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Michael C . Wu" Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: Crosscompiling from x86 host to alpha target References: <20001111145311.A18007@peorth.iteration.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Michael C . Wu" wrote: > > 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 Use MACHINE_ARCH. Don't use TARGET_MACHINE. The following gets you reasonably far: % make MACHINE_ARCH=alpha buildworld If you don't have the gcc patches, it'll probably fail compiling libmd (which is quite early). With the gcc patches it fails for perl. The gcc patches can be downloaded from http://people.freebsd.org/~marcel/ -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message