An open API service indexing awesome lists of open source software.

https://github.com/zephyrproject-rtos/crosskit-aarch64-linux-libpython

AArch64 libpython for cross-compilation
https://github.com/zephyrproject-rtos/crosskit-aarch64-linux-libpython

sdk-components

Last synced: 9 months ago
JSON representation

AArch64 libpython for cross-compilation

Awesome Lists containing this project

README

          

# crosskit-aarch64-linux-libpython

This repository contains the `libpython` libraries and headers for the AArch64
Linux, in order to facilitate non-AArch64 to AArch64 Linux 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-build_pc-linux-gnu
--host=aarch64-linux-gnu
--target=arm-none-eabi
--prefix=
--with-python=${LIBPYTHON_KIT_ROOT}/bin/python
```