Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Crosscompile Sources for Intel on Alpha
Date: Fri, 12 Feb 1999 09:36:37 -0700 (MST)	[thread overview]
Message-ID: <199902121636.JAA31842@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <14020.17022.83668.986180@flow.geo.vu.nl> from "Jaap Schellekens" at Feb 12, 99 03:04:33 pm

Jaap Schellekens wrote:
> 
> Andreas Magnus writes:
>  > Hello,
>  > Is it possible to compile sources on the Alpha and get Intel-Binarys as result ?
>  > 
>  > I have an old Intel 486 System which is verry slow when compiling the Kernel.
>  > So it would be nice to compile it on my fast Alpha.
>  
> I know that the other way around gives problems (32-64bit issues, has
> to do with gcc's desing).

To use 32-bit Intel in order to crosscompile 64-bit Alpha code would
be a major overhaul of gcc.  The problem is that various compiler
stages had to be able to do arithmetic for a target and gcc does not
have provisions to make this arithmetic wider than that of its host.
To go the other way around would be entirely possible.  In the past I
used 32-bit machine (I was running that on NeXT but other folks had an
array of different platforms) to crosscompile 16-bit code for Atari ST.

Still to make such cross-compilation possible you would need not only
this compiler itself but a bunch of other tools to provide the whole
enviroment (two assemblers, linker, library archiving tool, assorted
auxilliary programs running on Alpha but geared towards i386 output).
All doable; but unless you look for an interesting exercise in a practice
of compilation then upgrading your 486, for example, would be more
cost-effective. :-)

 Michal


  reply	other threads:[~1999-02-12 16:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-12  9:44 What motherboard? Dauter, Oliver
1999-02-12 13:11 ` Crosscompile Sources for Intel on Alpha Andreas Magnus
1999-02-12 15:04   ` Jaap Schellekens
1999-02-12 16:36     ` Michal Jaegermann [this message]
1999-02-12 15:27   ` Dr . David Alan Gilbert
1999-02-12 18:50   ` Chris Albertson
  -- strict thread matches above, loose matches on Subject: below --
1999-02-12 16:20 designer seven
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