Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2000 14:44:31 -0800
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        "Michael C . Wu" <keichii@peorth.iteration.net>
Cc:        Marcel Moolenaar <marcel@cup.hp.com>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: Crosscompiling from x86 host to alpha target
Message-ID:  <20001111144431.A21664@dragon.nuxi.com>
In-Reply-To: <3A0DB4E9.C6C5D067@cup.hp.com>; from marcel@cup.hp.com on Sat, Nov 11, 2000 at 01:06:49PM -0800
References:  <20001111145311.A18007@peorth.iteration.net> <3A0DB4E9.C6C5D067@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 11, 2000 at 01:06:49PM -0800, Marcel Moolenaar wrote:
> "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.

Doh!  Sorry, it was quite late at night when you asked and I had GCC on
my mind (which set TARGET_MACHINE).


> 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/

These patches are OBE.  The first one being applied in
src/contrib/gcc.295/config/alpha.c rev 1.2:

    Add missing prototypes.
    This allows cross building an Alpha Gcc on a 32-bit host to work.
    Obtained from:  alpha-protos.h (GCC 2.96 / head branch of FSF/GCC CVS repo)


A different form of the Makefile patch was committed along time ago.
(These two changes also exist in the RELENG_4 branch.)

-- 
-- David  (obrien@FreeBSD.org)
          GNU is Not Unix / Linux Is Not UniX


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?20001111144431.A21664>