SDL on non-Intel (ARM/MIPS/PPC/SHX) Linux?

Hi all,

I’m working on a multimedia embedded Linux system. Currently it
runs on x86 and SDL works brilliantly.

For production we’re pretty committed to Linux but are considering
other architectures, namely StrongARM (e.g. LART), MIPS, PowerPC and
Hitachi SH-4.

Assuming the basics are in place on these systems (that is, a ported
linux kernel, gcc, binutils, bash etc are already stable and working
on a given system) how difficult will it be to get SDL (and SDL_image
and SDL_mixer) and smpeg working on these alternate linux versions?

Any idea if getting SDL running on any of these CPUs would be inherently
more difficult than on others?

Any feedback appreciated.

Thanks,

Steve Madsen
H2Eye Ltd.
24-28 Hatton Wall
London EC1N 8JH
UNITED KINGDOM (UK)
Tel: +44 (0) 207 404 9600
Fax: +44 (0) 207 404 9490
Email: @Steve_Madsen

For production we’re pretty committed to Linux but are considering
other architectures, namely StrongARM (e.g. LART), MIPS, PowerPC and
Hitachi SH-4.

Assuming the basics are in place on these systems (that is, a ported
linux kernel, gcc, binutils, bash etc are already stable and working
on a given system) how difficult will it be to get SDL (and SDL_image
and SDL_mixer) and smpeg working on these alternate linux versions?

SDL and the listed libraries already work on PPC, StrongARM versions of
Linux. It should work fine with minor tweaks on the MIPS architecture,
and I’ve never heard of the Hitachi SH-4, though if the kernel and basics
are there, SDL should work there as well.

Your mileage may vary. :slight_smile:

-Sam Lantinga, Lead Programmer, Loki Entertainment Software

I am far (really far, so far you couldn’t shake a stick at it)
from being an SDL master or intimately familiar with the SDL guts, but
speaking generally if they didn’t use much/any assembler hopefully
it might just be a recompile from src. Of course if the code has inline
asm it would probably be a real bitch to move everything. I’d bet the
low-level video code would be the most likely place for inlined asm
(speed), but then I haven’t done any bare-metal graphics hacking since I
had a 486 several years ago, so maybe pure C does the trick now.

Good luck, your project sounds neat.  :)

Michael Orion Jackson*
TAMS Class of 96/UT Class of 200?*
Random Quote:*
“Why me?” “Because you are in Natural Sciences,silly.”********************************************************