view doc/README.NDS @ 314:b2e4e23d9953

- stop using dlinfo() on glibc platforms but use dl_iterate_phdr() instead, as former's implementation is nothing more than a fancy cast and thus dangerously assuming that every provided handle is valid - dynload_plain test * now testing getting exec's path * workdir independent
author Tassilo Philipp
date Wed, 06 Nov 2019 12:32:53 +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