From df449bf52949ccbde72fb01b551f244282420843 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Tue, 30 Jul 2019 19:04:08 +0100 Subject: [PATCH] README: Add some advice about 32-bit biarch compilation Signed-off-by: Simon McVittie <smcv@collabora.com> --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f4d304d48..e1e2c0de5 100644 --- a/README.md +++ b/README.md @@ -135,8 +135,10 @@ to use a symlink to trick it: make -C _build/x86_64 install make -C _build/i386 install -For the i386 build, if you don't have a `i686-linux-gnu-gcc` you might -have to add `CC="gcc -m32"` to the configure command line instead. +Use `--host=i586-linux-gnu` instead of `--host=i686-linux-gnu` if your +distribution uses that tuple for its 32-bit compiler. For the i386 build, +if you don't have an `i?86-linux-gnu-gcc` you might have to add +`CC="gcc -m32"` to the i386 configure command line. Again, this will give you a non-production version of libcapsule that is likely to depend on libraries from your host system. -- GitLab