README.ds
author Sam Lantinga <slouken@libsdl.org>
Wed, 16 Feb 2011 17:17:21 -0800
changeset 5328 f34a5f9ce9f6
parent 5289 1916a9e9714d
child 5423 b69fa50e80d7
permissions -rw-r--r--
Fixed bug 1122 (spinlock fails to compile with -march=armv4t)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5289
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     1
================================================================================
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     2
Simple DirectMedia Layer for Nintendo DS
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     3
================================================================================
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     4
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     5
-Requirements-
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     6
The devkitpro SDK available at http://devkitpro.org.
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     7
Read the information at http://devkitpro.org/wiki/Getting_Started/devkitARM
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     8
The necessary packages are devkitARM, libnds and default arm7.
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     9
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    10
-Building SDL-
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    11
After setting the devkitpro environment, type:
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    12
  make -f Makefile.ds
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    13
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    14
This will compile and install the library and headers into the proper libnds directories.
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    15
Additionnaly it will compile the general test, that you can run either on the DS or with desmume:
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    16
  desmume test/nds-test-progs/general/general.nds
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    17
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    18
1916a9e9714d Frank Zago to SDL
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    19
Note that the port is very basic and incomplete.