Date: Thu, 30 Mar 2000 09:25:06 -0800 (PST) From: John Polstra <jdp@polstra.com> To: morrildl@nycap.rr.com Cc: alpha@freebsd.org Subject: Re: Cross building Alpha on an i386 Message-ID: <200003301725.JAA07284@vashon.polstra.com> In-Reply-To: <Pine.LNX.4.10.10003282242570.2830-100000@obsequious.net> References: <Pine.LNX.4.10.10003282242570.2830-100000@obsequious.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.LNX.4.10.10003282242570.2830-100000@obsequious.net>, <morrildl@nycap.rr.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003301725.JAA07284>