diff doc/README.NDS @ 0:3e629dc19168

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:24:28 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/README.NDS	Thu Mar 19 22:24:28 2015 +0100
@@ -0,0 +1,25 @@
+Build instructions for DynCall on Nintendo DS
+   using devkitPro and NMake under Windows
+=============================================
+
+
+To build the library, you have to configure it first.
+Since the NDS build uses devkitPro and NMake, assure
+to have them in your %PATH%.
+
+To configure the library, call one of the following,
+depending if you want to use the processor in ARM or
+THUMB mode:
+
+  configure.bat /tool-gcc /target-nds-arm
+  configure.bat /tool-gcc /target-nds-thumb
+
+Note that the /tool-gcc flag is needed, because we're
+using devkitARM (via devkitPro) which is based on the
+GCC toolchain. The /target-nds-* flags don't imply
+this.
+
+Then, call:
+
+  nmake /F Nmakefile
+