From: spambots@suck.on.this.edu (Bounce)
Subject: Re: Q: Is it possible to compile binaries for a different processor?
Date: 1999/05/15 [thread overview]
Message-ID: <slrn7jpvsp.g0c.spambots@interport.net> (raw)
In-Reply-To: 7f68ii$k98$1@pulp.ucs.ualberta.ca
On 16 Apr 1999 02:50:58 GMT, Michal Jaegermann <michal@gortel.phys.ualberta.ca> wrote:
>Going the other direction (to cross-compile on x86 for Alpha) seems
>to be impossible, or at least very hard, as cross-compiler performs
>various arithmetic operations in a target arithmetic and gcc currently
>assumes that it can fit them in a host registers. Registers on
>Alpha are twice a width of those on Intel.
You know, actually, I *was* able to perform a preliminary port of GNAT
(an Ada 95 compiler melded with gcc 2.8.1) to the alpha by
cross-compiling from x86/linux (since an alpha/linux version didn't
exist). So now I can compile Ada code on the alpha, provided I don't
use any of the tasking abilities (they haven't been ported yet ...).
So my experience is that it *is* possible to cross compile from an x86
to the alpha (well, at least from a pentium), and not only that, it's
possible to cross-compile a port of gcc as well! I'm not sure if
floating point stuff will cross-compile, but basic integer stuff seems
to work fine.
-Albert
computer is interport.net, user is aklee.
prev parent reply other threads:[~1999-05-15 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-15 4:00 Q: Is it possible to compile binaries for a different processor? Chris Gahan
1999-04-15 4:00 ` Serguei Patchkovskii
1999-04-15 4:00 ` Jaap Schellekens
1999-04-15 4:00 ` Timo Biesenbach
1999-04-16 4:00 ` Craig Graham
1999-04-16 4:00 ` Michal Jaegermann
1999-05-15 4:00 ` Bounce [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox