Skip to content

Commit 224efdd

Browse files
committed
Add README
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
0 parents  commit 224efdd

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# crosskit-aarch64-linux-libpython
2+
3+
This repository contains the `libpython` libraries and headers for the AArch64
4+
Linux, in order to facilitate non-AArch64 to AArch64 Linux cross compilation of
5+
the programs that depend on the `libpython` library (e.g. GDB).
6+
7+
__SUPERHACK WARNING!__ This repository also contains a special shell script
8+
(`${LIBPYTHON_KIT_ROOT}/bin/python`) to allow the GDB build system to resolve
9+
the `include` and `lib` paths for the host Python.
10+
11+
## Build GDB
12+
13+
```
14+
/usr/local/src/gdb-9.1/configure \
15+
--build=x86_64-build_pc-linux-gnu
16+
--host=aarch64-linux-gnu
17+
--target=arm-none-eabi
18+
--prefix=<OUTDIR>
19+
--with-python=${LIBPYTHON_KIT_ROOT}/bin/python
20+
```

0 commit comments

Comments
 (0)