From owner-freebsd-alpha Thu Mar 30 9:25:13 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id C2CF337B73E for ; Thu, 30 Mar 2000 09:25:09 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id JAA21953; Thu, 30 Mar 2000 09:25:06 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id JAA07284; Thu, 30 Mar 2000 09:25:06 -0800 (PST) (envelope-from jdp@polstra.com) Date: Thu, 30 Mar 2000 09:25:06 -0800 (PST) Message-Id: <200003301725.JAA07284@vashon.polstra.com> To: morrildl@nycap.rr.com Subject: Re: Cross building Alpha on an i386 In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: alpha@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article , wrote: > > 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.) Actually I think you may have that backwards. My experience is that a 32 -> 64 bit cross build works fine, but a 64 -> 32 bit cross build fails. (Yes, I realize that is counter-intuitive.) Aside from my personal experience, I've read in several places that the "64x32 cross" is broken. By the way, the Modula-3 system uses a slightly modified GCC backend to generate code. Building Alpha executables on an i386 definitely works in that case. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message