Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] README.md: update instructions of building for other libc
@ 2020-09-25 19:30 Chocimier
  2020-09-26 15:09 ` [PR PATCH] [Updated] " Chocimier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chocimier @ 2020-09-25 19:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

There is a new pull request by Chocimier against master on the void-packages repository

https://github.com/Chocimier/void-packages-org readme-native-musl
https://github.com/void-linux/void-packages/pull/25100

README.md: update instructions of building for other libc
base-chroot-musl is irrelevant since some time.

@pullmoll: Do new instruction miss anything?

A patch file from https://github.com/void-linux/void-packages/pull/25100.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-readme-native-musl-25100.patch --]
[-- Type: text/x-diff, Size: 1327 bytes --]

From 772e3657e5bf3b29bdecd66044602510f6a96636 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
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`:
 <a name="building-for-musl"></a>
 ### 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
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-26 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 19:30 [PR PATCH] README.md: update instructions of building for other libc Chocimier
2020-09-26 15:09 ` [PR PATCH] [Updated] " Chocimier
2020-09-26 15:10 ` Chocimier
2020-09-26 19:58 ` [PR PATCH] [Merged]: " Chocimier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).