Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Tom Linden <tom@kednos.com>
Subject: Re: xanim, radius cinepak codec
Date: Fri, 9 Jan 1998 08:26:40 -0800 (PST)	[thread overview]
Message-ID: <Pine.ULT.3.91.980109082150.657L-100000@gunn.kednos.com> (raw)
In-Reply-To: <Pine.LNX.3.96.980108212149.5456S-100000@hvdkooij.dyn.ml.org>

A cross-compiler is just a program that reads an input file and produces 
an output file.  The fact that the output file is object code and maybe 
for a 64bit architecture is irrelevant.

On Thu, 8 Jan 1998, Hugo van der Kooij wrote:

> On Wed, 7 Jan 1998, Jim Paradis wrote:
> 
> > David Alan Gilbert wrote:
> > 
> > > Hmm - you SHOULD be able to; I'm pretty sure I've seen a comment in the GCC
> > > source
> > > which says that it can't do certain optimisations when going from a 32 bit
> > > machine to a 64 bit machine; so I presume that means that you can do
> > > that direction but not as efficiently.
> > 
> > True, but there's another wrinkle: you can get away with this on some
> > architectures but not on others.  The Intel architecture, in particular,
> > is so register-poor that when you combine registers to make 64-bit
> > pseudo-registers, you don't have enough to do even basic operations.
> > That's why you can *build* a 64-bit Alpha compiler on an Intel system,
> > but when you try to run it on any but trivial sources it'll frequently
> > die with an "illegal register spill".

This is a bug in the cross-compiler.  You have no need to build 64bit
"pseudo-registers" in the cross-compiler.  If you do, you need to rebuild 
the code generator.

> 
> I understood the object was to compile code ON a Sparc system to run on a
> (Linux) Alpha system. Wether that is feasable or not is beyond my
> knowledge.
> 
> Hugo.
> 
> 	+------------------------+------------------------------+
> 	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
> 	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
> 	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
> 	+------------------------+------------------------------+
>     "Computers let you make more mistakes faster than any other invention in 
>       human history, with the possible exception of handguns and tequila."
> 		(Mitch Radcliffe)
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1998-01-09 16:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.96.980108212149.5456S-100000@hvdkooij.dyn.ml.org>
1998-01-09 16:26 ` Tom Linden [this message]
1998-01-10 20:24 xanim, radius cinepak codec Stefan Traby
  -- strict thread matches above, loose matches on Subject: below --
1998-01-10 12:26 Stefan Traby
1998-01-10 16:20 ` Tom Linden
1998-01-10  8:11 Stephen Williams
     [not found] <34B394F9.32F28B18@jrp.tiac.net>
1998-01-08 20:23 ` Hugo van der Kooij
     [not found] <Pine.LNX.3.96.980106181845.29526B-100000@bean.xtdnet.nl>
1998-01-08 19:35 ` Tad Grosvenor
1998-01-08  6:33 Stephen Williams
1998-01-07 14:45 Jim Paradis
1998-01-06 21:35 Philip Blundell
1998-01-06 18:14 David Alan Gilbert
     [not found] <Pine.LNX.3.95.980106130401.5475A-100000@frodo.ho.com>
1998-01-06 16:48 ` Matti Aarnio
1998-01-06 17:22 ` Paul Wouters
1998-01-06 16:26 Dragisa Duric
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