[MPlayer-dev-eng] Cross-compiling for SH4...

Joey Parrish joey at nicewarrior.org
Sat Aug 9 20:16:57 CEST 2003

On Sat, Aug 09, 2003 at 01:16:10PM +0200, OrcRys wrote:
> Hello to you guys,
> I'm trying to build MPlayer for SH4... I want to make a video player for my
> dreamcast ^_^
> So I wanted to know if anyone ever managed it, and if so, how?

Cross-compiling MPlayer is not going to work out of the box.  There are
things that mplayer's Makefile compiles and then runs, for example: to
generate codecs.conf.h from codecs.conf...
So you'll probably have to do something like set your CC var to your
cross-compiler, then hardcode your native compiler into the Makefile for
the things that need to be run natively.
Or, submit a patch to make cross-compiling easier... :)

In any case, to run MPlayer on DC, you'd have to burn a CD with DC linux
as well as MPlayer and your video files, right?  And the DC's proc isn't
fast enough to do a whole lot.  And you'd probably be using SDL for video
I assume.  Anyhow, if you have any good luck with this project, let me
know how it turns out.


More information about the MPlayer-dev-eng mailing list