From 772e3657e5bf3b29bdecd66044602510f6a96636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Fri, 25 Sep 2020 21:27:48 +0200 Subject: [PATCH] README.md: update instructions of building for other libc --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fe85e3f20eb..dfa741c6daf 100644 --- a/README.md +++ b/README.md @@ -484,15 +484,8 @@ The second mode (native) needs a new x86 `masterdir`: ### Building packages natively for the musl C library -A native build environment is required to be able to cross compile the bootstrap packages for the musl C library; this is accomplished by installing them via `binary-bootstrap`: - - $ ./xbps-src binary-bootstrap - -Now cross compile `base-chroot-musl` for your native architecture: - - $ ./xbps-src -a x86_64-musl pkg base-chroot-musl - -Wait until all packages are built and when ready, prepare a new masterdir with the musl packages: +Canonical way of building packages for same architecture but different C library is through dedicated masterdir. +To build for x86_64-musl on glibc x86_64 system, prepare a new masterdir with the musl packages: $ ./xbps-src -m masterdir-x86_64-musl binary-bootstrap x86_64-musl