https://github.com/zephyrproject-rtos/crosskit-x86_64-darwin-libpython
x86-64 macOS libpython for cross-compilation
https://github.com/zephyrproject-rtos/crosskit-x86_64-darwin-libpython
sdk-components
Last synced: 3 months ago
JSON representation
x86-64 macOS libpython for cross-compilation
- Host: GitHub
- URL: https://github.com/zephyrproject-rtos/crosskit-x86_64-darwin-libpython
- Owner: zephyrproject-rtos
- Created: 2022-11-25T00:38:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-22T21:25:15.000Z (almost 2 years ago)
- Last Synced: 2025-12-27T14:11:10.100Z (7 months ago)
- Topics: sdk-components
- Language: C
- Homepage:
- Size: 2.72 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# crosskit-x86_64-darwin-libpython
This repository contains the `libpython` libraries and headers for the x86-64
macOS, in order to facilitate non-x86-64 to x86-64 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=aarch64-apple-darwin \
--host=x86_64-apple-darwin \
--target=arm-none-eabi \
--prefix= \
--with-python=${LIBPYTHON_KIT_ROOT}/bin/python
```