From owner-freebsd-alpha Tue Mar 28 19:50:56 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from mail4.nycap.rr.com (mail4-1.nyroc.rr.com [24.92.33.20]) by hub.freebsd.org (Postfix) with ESMTP id D23BD37BFDC for ; Tue, 28 Mar 2000 19:50:52 -0800 (PST) (envelope-from morrildl@nycap.rr.com) Received: from cm-24-29-69-57.nycap.rr.com ([24.29.69.57]) by mail4.nycap.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-59787U250000L250000S0V35) with ESMTP id com for ; Tue, 28 Mar 2000 22:53:35 -0500 Date: Tue, 28 Mar 2000 22:50:12 -0500 (EST) From: Cc: alpha@FreeBSD.ORG Subject: Re: Cross building Alpha on an i386 In-Reply-To: <200003280528.VAA39537@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 27 Mar 2000 jkoshy@FreeBSD.ORG wrote: > I can't seem to find a prior message in the mailing lists about this > problem. A cross build with MACHINE_ARCH=alpha on a FreeBSD/x86 system > fails: In the Linux world, the gurus say that you can't cross-build for the Alpha from a 32-bit system with gcc. IIRC (which is unlikely :) it's got something to do with gas not being equipped to deal with 64-bit pointers and instructions on a system with 32-bit registers. (Doing a cross from 64-bit to 32-bit archs works.) My understanding is that this is a gcc/gas thing, and not a Linux thing, so that may be your problem. On the other hand, I'd expect that they built Linux on the Itanium as a cross from IA32, so maybe gcc's been fixed and I'm wrong. Just a possibility... Dan Morrill ...standing ready to be corrected by those who know more. :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message