diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2022-08-02 23:08:44 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2022-08-04 00:48:26 +0200 |
commit | 9c5a00cee083e345148c2d303d509c71fd99cc15 (patch) | |
tree | 0215895793e1bf2f902936c5b3af911955ae3817 | |
parent | 6ded7f0ecaafc59460c82890f04cef3d86f58383 (diff) | |
download | klibc-9c5a00cee083e345148c2d303d509c71fd99cc15.tar.gz |
[klibc] README.klibc: Update note about building compat user-space
- The list of 64-bit architectures that can have a 32-bit user-space
was outdated. ia64 hasn't supported compat mode since Linux 2.6.27,
while arm64 does support it. Rather than trying to keep this list
up-to-date, delete it.
- There hasn't been a linux/include/asm symlink since Linux 2.6.30,
so delete the reference to that.
- The 64-bit ports of klibc are widely used. For example, Debian and
its derivatives have always used native builds of klibc on amd64 and
arm64. So delete the statement that compat user-space is likely
better-tested.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r-- | usr/klibc/README.klibc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/klibc/README.klibc b/usr/klibc/README.klibc index 6162ad3a6b1b6..efbb70fffb6d1 100644 --- a/usr/klibc/README.klibc +++ b/usr/klibc/README.klibc @@ -26,13 +26,10 @@ prefix, on the "make" command line. You also need to set ARCH to the appropriate kernel architecture name on the "make headers_install" command line. -IMPORTANT: if you're on a 64-bit machine with a 32-bit userland -(ia64, mips64, ppc64 sparc64, s390x or x86_64), and you want to -build the 32-bit version: you need to set KLIBCARCH to the 32-bit -architecture as well as set up the linux/include/asm symlink to -point to the 32-bit architecture. Building the 32-bit architecture -usually (but not always) produces smaller binaries, and is likely -to be better tested. +IMPORTANT: if you're on a 64-bit machine with a 32-bit userland, and +you want to build the 32-bit version: you need to set KLIBCARCH to the +32-bit architecture. Building the 32-bit architecture usually (but +not always) produces smaller binaries. If you are on ARM, and want to build a thumb version of the library (this is supported), change OPTFLAGS in arch/arm/MCONFIG to build |