Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2000 13:06:49 -0800
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        "Michael C . Wu" <keichii@peorth.iteration.net>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: Crosscompiling from x86 host to alpha target
Message-ID:  <3A0DB4E9.C6C5D067@cup.hp.com>
References:  <20001111145311.A18007@peorth.iteration.net>

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




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