view doc/README.PSP @ 542:a73a5cd50c19

- fix passing aggregate-by-val on x64/sysv: subaggr classification for aggr *arrays* was wrong (was problematic when there ware exactly 2 8bytes to be classified, potentially be passed via registers)
author Tassilo Philipp
date Mon, 02 May 2022 15:32:41 +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