From 4b2a0e3ac4f76c8448d6e9a850af4ffca4d911b8 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 16 Mar 2018 18:54:30 +0000 Subject: README: document WITH_LIBUCONTEXT variable --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 14d7c4b..7fb3ef7 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,13 @@ of glibc programs to work in the same way as native musl programs. In order to build correctly, the gcompat build system requires a few details about the host environment, both from the musl end, as well as the glibc end. These are: -| Variable | Description | -|-------------------|---------------------------------------------------------------------------------------------------| -| `LINKER_PATH` | The location of the musl ELF interpreter. | -| `LOADER_NAME` | The name of the glibc ELF interpreter that would be appropriate for your architecture. | -| `LIBGCOMPAT_PATH` | *optional* The location to install the libgcompat.so library to. Usually `/lib/libgcompat.so.0`. | -| `LOADER_PATH` | *optional* The location to install the loader to. Usually `/lib/${LOADER_NAME}`. | +| Variable | Description | +|--------------------|---------------------------------------------------------------------------------------------------| +| `LINKER_PATH` | The location of the musl ELF interpreter. | +| `LOADER_NAME` | The name of the glibc ELF interpreter that would be appropriate for your architecture. | +| `LIBGCOMPAT_PATH` | *optional* The location to install the libgcompat.so library to. Usually `/lib/libgcompat.so.0`. | +| `LOADER_PATH` | *optional* The location to install the loader to. Usually `/lib/${LOADER_NAME}`. | +| `WITH_LIBUCONTEXT` | *optional* Whether or not to build against `libucontext`. | For example on x86_64 musl with x86_64 glibc compatibility, you would want to do: -- cgit v1.2.3-70-g09d2