view doc/README.PSP @ 319:993550558ac5

- test/dynload_plain build fix for Darwin cc (use flag -dynamiclib instead of -shared to build test .dylib)
author Tassilo Philipp
date Wed, 13 Nov 2019 16:13:07 +0100
parents 3e629dc19168
children
line wrap: on
line source

Cross-compile DynCall for PSP using PSP-SDK
===========================================


Make sure the PSP SDK's is installed and that the build tools (e.g. psp-gcc) are
in your PATH. Also make sure that your PSP SDK's include files are in your CPATH


Status:
-------

- dyncall: tests run ok.
- dyncallback: all good.
- dynload: unsupported due to missing dynamic linker and ELF headers.
  


There are currently two ways to build dyncall for PSP.

Build using configure and make:
-------------------------------

  $ ./configure --target=PSP
  $ make libdyncall libdyncallback


Build using build script for gcc (using Makefile.generic):
----------------------------------------------------------
  $ sh buildsys/scripts/batch-build-psp.sh