From 4c9b40a43519edbea22d9c42a8721d8a3150764f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 8 Feb 2015 18:16:27 +0100 Subject: [PATCH] README: document how to build 32bit pkgs in cross and native mode. --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1fff908c53f..b1f9755febb 100644 --- a/README.md +++ b/README.md @@ -298,12 +298,18 @@ Sometimes the bootstrap packages must be updated to the latest available version ### Building i686/32bit packages on x86_64 -A new x86 `masterdir` must be created to build 32bit packages: +Two ways are available to build 32bit packages on x86\_64: + + - cross compilation mode + - native mode with a 32bit masterdir + +The first mode (cross compilation) is as easy as: + + $ ./xbps-src -a i686 pkg ... + +The second mode (native) needs x86 `masterdir`: $ ./xbps-src -m masterdir-x86 binary-bootstrap i686 - -Packages that are multilib only (32bit) must be built on a 32bit masterdir. - $ ./xbps-src -m masterdir-x86 ... ### Building packages natively for the musl C library