https://github.com/zephyrproject-rtos/crosskit-aarch64-darwin-libpython
AArch64 macOS libpython for cross-compilation
https://github.com/zephyrproject-rtos/crosskit-aarch64-darwin-libpython
sdk-components
Last synced: 4 months ago
JSON representation
AArch64 macOS libpython for cross-compilation
- Host: GitHub
- URL: https://github.com/zephyrproject-rtos/crosskit-aarch64-darwin-libpython
- Owner: zephyrproject-rtos
- Created: 2022-03-09T19:51:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T21:40:17.000Z (9 months ago)
- Last Synced: 2025-01-19T01:36:21.380Z (5 months ago)
- Topics: sdk-components
- Language: C
- Homepage:
- Size: 1.11 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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= \
--with-python=${LIBPYTHON_KIT_ROOT}/bin/python
```