Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: xanim, radius cinepak codec
@ 1998-01-07 14:45 Jim Paradis
  0 siblings, 0 replies; 14+ messages in thread
From: Jim Paradis @ 1998-01-07 14:45 UTC (permalink / raw)


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".

-- 
Jim Paradis   jrp@jrp.tiac.net   http://www.tiac.net/users/jrp/index.html
"It's not procrastination, it's my new Just-In-Time Workload Management System!"

-- 
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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: xanim, radius cinepak codec
@ 1998-01-10 20:24 Stefan Traby
  0 siblings, 0 replies; 14+ messages in thread
From: Stefan Traby @ 1998-01-10 20:24 UTC (permalink / raw)


Hi Tom !

> I think you missed the point, as well as sleeping in class when 
> syllogistic reasoning was discussed.  The original writer was under the 

I'm sorry. I have real problems with sentences like "A [a-z]+ is [a-z ]+\."

> Books to read:
> "Compilers, Priciples, Techniques and Tools" Aho, Sethi & Ullman
> Addison Wesley 1986

Done. (The German "dragon-book" translation "Compilerbau".)
Can I now speak ? :-)) 

-- 
  ciao - 
    Stefan

Stefan Traby                            phone:  +43-3133-6107-2
Mitterlasznitzstr. 13                     fax:  +43-3133-6107-9
8302 Nestelbach                        mailto://stefan@sime.com
Austria

-- 
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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: xanim, radius cinepak codec
@ 1998-01-10 12:26 Stefan Traby
  1998-01-10 16:20 ` Tom Linden
  0 siblings, 1 reply; 14+ messages in thread
From: Stefan Traby @ 1998-01-10 12:26 UTC (permalink / raw)


> tom@kednos.com said:
> > 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. 
> 
> Yes, one would think that. In practice, though, there are a lot of cases
> where expressions need to be evaluated from the source being compiled,

Hey think !
His definition is far from reality. :-)

I read it four times and now I finally accept that "cp" is a 
cross-compiler under Tom's definition. (only when used with two args.)

His definition depends on exact one input file.
It's impossible to cross-compile C-code that uses "#include"-statements.
(but this is a special case, Tom talks about abstract cross-compilers)

His definition may be valid for some "filter" programs, but
not for something known as cross-compilers.

In fact, it's no problem to cross-compile from 16-Bit with 128-Bit
target (maybe the cross-compiler should use a mp-library) but
gcc is something special. It's not a simple stupid 
abstract cross-compiler it's a real-world solution.

For a definition write to Richard Stallman <rms@gnu.org> with
body "I'm using Linux. What is a cross-compiler ?" 

I bet (2 US$) that you get two replies.

One contains "That is unfair. Your are using GNU-Linux. That is a modified
variant of the GNU operating system...."

... and the second includes a useful exact definition.

It's really important that you are careful when you write and speak. 
[And it's even harder if English is a foreign language for you.]

-- 
  ciao - 
    Stefan

Stefan Traby                            phone:  +43-3133-6107-2
Mitterlasznitzstr. 13                     fax:  +43-3133-6107-9
8302 Nestelbach                        mailto://stefan@sime.com
Austria

-- 
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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: xanim, radius cinepak codec
@ 1998-01-10  8:11 Stephen Williams
  0 siblings, 0 replies; 14+ messages in thread
From: Stephen Williams @ 1998-01-10  8:11 UTC (permalink / raw)


tom@kednos.com said:
> 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. 

Yes, one would think that. In practice, though, there are a lot of cases
where expressions need to be evaluated from the source being compiled,
and the compiler (gcc, I presume) uses native arithmetic to do it. And
believe it or not, gcc has bugs in it.

Sure, this is not "correct" but is is done for performance reasons. This is
why 64->32bit cross compiles are more likely to work then 32->64bit compiles.
Gcc is getting better, though. I'm sure if you (or anybody) finds a bug
or a fix, the gcc and EGCS people would love to hear about it.

-- 
Steve Williams
steve@icarus.com
steve@picturel.com

"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

-- 
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

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <Pine.LNX.3.96.980108212149.5456S-100000@hvdkooij.dyn.ml.org>]
[parent not found: <34B394F9.32F28B18@jrp.tiac.net>]
[parent not found: <Pine.LNX.3.96.980106181845.29526B-100000@bean.xtdnet.nl>]
* Re: xanim, radius cinepak codec
@ 1998-01-08  6:33 Stephen Williams
  0 siblings, 0 replies; 14+ messages in thread
From: Stephen Williams @ 1998-01-08  6:33 UTC (permalink / raw)


Philip.Blundell@pobox.com said:
> In some cases at least you can.  I know of at least one person who is
> successfully compiling for a 32-bit machine on an Alpha. 

Do it all the time for i960. Earlier versions had a few minor glitches,
but egcs does the job just file.

ARM targets should also work.

-- 
Steve Williams
steve@icarus.com
steve@picturel.com

"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

-- 
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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: xanim, radius cinepak codec
@ 1998-01-06 21:35 Philip Blundell
  0 siblings, 0 replies; 14+ messages in thread
From: Philip Blundell @ 1998-01-06 21:35 UTC (permalink / raw)


>AFAIK, you cannot build a cross compiler with gcc that works between 32bit and
>64bit machines. So, this is impossible.

In some cases at least you can.  I know of at least one person who is 
successfully compiling for a 32-bit machine on an Alpha.

p.

-- 
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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: xanim, radius cinepak codec
@ 1998-01-06 18:14 David Alan Gilbert
  0 siblings, 0 replies; 14+ messages in thread
From: David Alan Gilbert @ 1998-01-06 18:14 UTC (permalink / raw)


Paul Wouters wrote:
> 
> On Tue, 6 Jan 1998, Dragisa Duric wrote:
> 
> >   I contacted xanim's author about cinepak codec, which is available for
> > i386. In short, cinepak codec is binary only released and author will make
> > Linux/Alpha binary in case someone provides him with cross-compiler for
> > Linux/Alpha which will run od Sparc SunOS 4.1.3 machine.
> 
> Been there, done that. got the T-shirt.
> AFAIK, you cannot build a cross compiler with gcc that works between 32bit and
> 64bit machines. So, this is impossible.

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.

I have the opposite direction working (64bit host, 32 bit (ARM) target).
Although it took a small patch to EGCS to do it.

Dave

-- 
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work:    dg @ cogency.co.uk        -    0161-428-9444              -
- Home:    gro.gilbert @ treblig.org -                               -
----------------------------------------------------------------------

-- 
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

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <Pine.LNX.3.95.980106130401.5475A-100000@frodo.ho.com>]
* xanim, radius cinepak codec
@ 1998-01-06 16:26 Dragisa Duric
  0 siblings, 0 replies; 14+ messages in thread
From: Dragisa Duric @ 1998-01-06 16:26 UTC (permalink / raw)


I contacted xanim's author about cinepak codec, which is available for
i386. In short, cinepak codec is binary only released and author will make
Linux/Alpha binary in case someone provides him with cross-compiler for
Linux/Alpha which will run od Sparc SunOS 4.1.3 machine.

  I hope there is someone with enough skill, will and bandwidth who can
contribute such a cross-compiler to him so we all can get fully
operational software video player (free for non-commercial use), with same
functionality as is one in Linux/x86.

  His address is podlipec@baynetworks.com.

  Also, I contacted MpegTV team (www.mpegtv.com). They also have nothing
against porting to Linux/Alpha, except they do not have platform. I do not
have enough bandwidth to provide access to my alphas for them, but if
someone thinks he can, we can contact them again.

  Thanks, dd

-- 
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~1998-01-10 20:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-07 14:45 xanim, radius cinepak codec Jim Paradis
  -- strict thread matches above, loose matches on Subject: below --
1998-01-10 20:24 Stefan Traby
1998-01-10 12:26 Stefan Traby
1998-01-10 16:20 ` Tom Linden
1998-01-10  8:11 Stephen Williams
     [not found] <Pine.LNX.3.96.980108212149.5456S-100000@hvdkooij.dyn.ml.org>
1998-01-09 16:26 ` Tom Linden
     [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-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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox