[SDL] How cross-compile SDL on ARM

Stephane Marchesin stephane.marchesin at wanadoo.fr
Sun May 23 14:04:12 PDT 2004


Wang Tao wrote:

> Hi all:
>
> Could anybody tell me how to cross-compile SDL for ARM-linux?
> I mean what should i do when configure? I've worked on this for servel 
> days and it just not use  "armv4l-unknown-linux-gcc"  to make libraries.
>
> Thank you very much for your help!

I've never cross compiled to anything except win32, but for win32 I use 
these scripts :
http://www.libsdl.org/extras/win32/cross/cross-configure.sh
http://www.libsdl.org/extras/win32/cross/cross-make.sh

I think you can adapt these 2 scripts (cross-make.sh and 
cross-configure.sh) for arm cross compilation, that'll probably do the 
trick.

Stephane






More information about the SDL mailing list