zephyrproject-rtos / crosskit-aarch64-darwin-libpython

AArch64 macOS libpython for cross-compilation

Repository from Github https://github.comzephyrproject-rtos/crosskit-aarch64-darwin-libpythonRepository from Github https://github.comzephyrproject-rtos/crosskit-aarch64-darwin-libpython

crosskit-aarch64-darwin-libpython

This repository contains the libpython libraries and headers for the AArch64 macOS, in order to facilitate non-AArch64 to AArch64 macOS cross compilation of the programs that depend on the libpython library (e.g. GDB).

SUPERHACK WARNING! This repository also contains a special shell script (${LIBPYTHON_KIT_ROOT}/bin/python) to allow the GDB build system to resolve the include and lib paths for the host Python.

Build GDB

/usr/local/src/gdb-9.1/configure \
    --build=x86_64-apple-darwin \
    --host=aarch64-apple-darwin \
    --target=arm-none-eabi \
    --prefix=<OUTDIR> \
    --with-python=${LIBPYTHON_KIT_ROOT}/bin/python

About

AArch64 macOS libpython for cross-compilation


Languages

Language:C 90.2%Language:C++ 9.8%Language:Shell 0.0%