Note on building for ARM64 Android targets with MTE

This commit is contained in:
K. Lange 2022-10-20 13:40:27 +09:00
parent aec19e61ec
commit f4b40b1b70
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ WASM builds can be built from [kuroko-lang/kuroko-wasm-repl](https://github.com/
Kuroko can be built with the Asyncify option and as a worker.
### Android
For Android ARM64 targets with MTE (memory tagging extension), specify `KRK_HEAP_TAG_BYTE=0xb4` when building. Kuroko has not been tested with hardware-enforced memory tagging.
### Fully Static
Normally, the main interpreter binary statically links with the VM library, but is otherwise built as a dynamic executable and links to shared libraries for libc, pthreads, and so on. To build a fully static binary, adding `-static` to `CFLAGS` and building only the `kuroko` target should suffice.