view doc/README.NDS @ 386:2c2b51819aad

- newer and portable beos/haiku uses elf.h instead of elf32.h (maybe older builds only used elf32.h in raw source? either way, just using elf.h now)
author Tassilo Philipp
date Thu, 21 Jan 2021 17:15:35 +0100
parents 3e629dc19168
children
line wrap: on
line source

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