X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/20730a0d24a0d79deae690536bf7fccc2a5e1de7..506ef46baeadc6f10456f75599e59ffce859d626:/README.md diff --git a/README.md b/README.md index c1386be7..f247a847 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Additional utilities ==================== * build-all.sh: used for building all packages in the correct order (using buildorder.py). -* clean-rebuild-all.sh: used for doing a clean rebuild of all packages. +* clean.sh: used for doing a clean rebuild of all packages. * scripts/check-pie.sh: Used for verifying that all binaries are using PIE, which is required for Android 5+. @@ -122,6 +122,10 @@ Common porting problems * mempcpy(3) is a GNU extension. We have added it to <string.h> provided TERMUX_EXPOSE_MEMPCPY is defined, so use something like CFLAGS+=" -DTERMUX_EXPOSE_MEMPCPY=1" for packages expecting that function to exist. +* Android uses a customized version of shared memory managemnt known as ashmem. Standard shm and semaphore libc + wrappers (semget(2), shmat(2) and others) aren't available. Direct syscalls can be used with + `CFLAGS+=" -DTERMUX_SHMEM_STUBS=1 -DTERMUX_SEMOPS_STUBS=1"`. + dlopen() and RTLD_* flags ================================= <dlfcn.h> originally declares