Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-05-23 05:33:39
Size: 1174
Editor: Paul Hunkin
Comment: Added lots of information on the project
Revision 4 as of 2010-05-23 05:34:30
Size: 1175
Editor: Paul Hunkin
Comment: Fixed a URL typo
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
 * Builds against the current (r4) [[Android NDK|]  * Builds against the current (r4) [[|Android NDK]]

This is a scratch pad for the Android Google Summer of Code 2010 project, by Paul Hunkin

The code is available here:


  • Builds against the current (r4) Android NDK

  • Works enough to get a 'hello world'.
  • None of the subsystems are implemented yet



How to build

To build SDL:

  • Extract the NDK somewhere
  • Currently you must set the correct paths to the NDK in:
    • build-scripts/
    • build-scripts/
  • 'make -f' should produce libsdl.a

To build a test program: are wrapper scripts designed to make it easier to compile things with the Android toolchain. So, you can build with test.c -o test, the same as you would do with normal gcc.

Or in a makefile, use:

  • CC=/path/to/sdl/build-scripts/
  • LD=/path/to/sdl/build-scripts/


None: SDL-gsoc2010_android (last edited 2010-05-23 05:34:30 by Paul Hunkin)

Please include your contact information if you'd like to receive a reply.