* , Re: play films
@ 2002-12-05 15:17 Bob Lindell
2002-12-05 18:31 ` Falk Hueffner
0 siblings, 1 reply; 3+ messages in thread
From: Bob Lindell @ 2002-12-05 15:17 UTC (permalink / raw)
To: axp-list
** My previous message had the patch inline and is being held for
** approval. Here is a repeat of the message with a pointer to
** the patch.
> > Instead, I quickly hacked on the mplayer source and compiled it with the
> > Compaq compiler ccc. I also move the mpeg alpha optimizations from
> > mplayerxp to the mplayer source.
> >
> > If you want a patch, I can post it.
>
> Yes, that would be great!!
Here it is. Again, it was a quick hack to compile it under ccc. I'm
sure it could be improved. I added the alpha optimizations to libmpeg2
from mplayerxp.
1) Download and untar MPlayer-0.90pre10
2) cd MPlayer-0.90pre10
3) mkdir asm
4) ln -s /usr/include/asm/types.h asm/byteorder.h
(this is a hack to make ccc happy with linux/cdrom.h)
5) patch -p1 < MPlayer-0.90pre10-alpha.patch
6) CFLAGS="-O4 -fast -inline speed -arch host -tune host" ./configure --cc=ccc -
-disable-gcc-checking --with-extraincdir=".:.."
7) make
(the make depend stage will bomb)
8) make
(the second make will build mplayer)
Patch is at http://www.isi.edu/~lindell/alpha/MPlayer-0.90pre10-alpha.patch
Improvements on the patch or build process gladly accepted.
Bob
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: play films
2002-12-05 15:17 , Re: play films Bob Lindell
@ 2002-12-05 18:31 ` Falk Hueffner
2002-12-05 18:57 ` Bob Lindell
0 siblings, 1 reply; 3+ messages in thread
From: Falk Hueffner @ 2002-12-05 18:31 UTC (permalink / raw)
To: axp-list
Bob Lindell <lindell@isi.edu> writes:
> Here it is. Again, it was a quick hack to compile it under ccc.
> I'm sure it could be improved. I added the alpha optimizations to
> libmpeg2 from mplayerxp.
Hmm, in my experience, gcc 3.2 or at least gcc from CVS produces
faster code for mplayer than ccc, so I wouldn't bother...
BTW, some Alpha optimizations have just been committed to libmpeg2, so
they will eventually make their way into mplayer when they update
their copy from upstream.
--
Falk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: play films
2002-12-05 18:31 ` Falk Hueffner
@ 2002-12-05 18:57 ` Bob Lindell
0 siblings, 0 replies; 3+ messages in thread
From: Bob Lindell @ 2002-12-05 18:57 UTC (permalink / raw)
To: axp-list
> Hmm, in my experience, gcc 3.2 or at least gcc from CVS produces
> faster code for mplayer than ccc, so I wouldn't bother...
That is why it was a quick hack! I wanted to use mplayer on my alpha
but I don't want to switch out the gcc/glibc that comes with RedHat 7.2.
Neither do I want to take the time to build an additional gcc toolchain
in an alternate location. Since the two versions of gcc that come
with Alpha RedHat 7.2 couldn't compile mplayer, I tried it under ccc.
>
> BTW, some Alpha optimizations have just been committed to libmpeg2, so
> they will eventually make their way into mplayer when they update
> their copy from upstream.
And hopefully there will be an updated gcc3 RPMS for RedHat alpha
distributions. If so, I'll switch back to using gcc3 for mplayer.
Bob
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-05 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-05 15:17 , Re: play films Bob Lindell
2002-12-05 18:31 ` Falk Hueffner
2002-12-05 18:57 ` Bob Lindell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox