view doc/README.PSP @ 246:06a354b2e120

changes for dynload for macOS and OpenBSD: - reverted last commit, b/c of brainfat (wrongly assuming all libs iterated over are opened by dynload) - make use of RTLD_NOLOAD, though, when re-dlopen-ing to get path, for performance (where available)
author Tassilo Philipp
date Thu, 04 May 2017 23:38:30 +0200
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