From 0e48e14e50ab765c957f593e42567e627bb53f8d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 7 Feb 2021 16:42:48 +0100 Subject: Advise to simply use a cross-toolchain * README: Advise to use i686-linux-gnu-* tools. --- README | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README') diff --git a/README b/README index 6c0ea5b3..108452a2 100644 --- a/README +++ b/README @@ -38,6 +38,15 @@ compiler to 32-bit mode when using a 64-bit x86 (x86_64) ELF toolchain: $ [...]/configure --host=i686-gnu CC='gcc -m32' LD='ld -melf_i386' +or point to a 32-bit ELF toolchain: + + $ [...]/configure --host=i686-gnu CC=i686-linux-gnu-gcc LD=i686-linux-gnu-ld + +Also, GNU MIG needs to be a 32bit version to properly compile the interfaces, +you can specify for instance + + $ [...]/configure --host=i686-gnu CC=i686-linux-gnu-gcc LD=i686-linux-gnu-ld MIG=i686-linux-gnu-mig + Please read the FAQ at . Bug reports should be sent to or filed on -- cgit v1.2.3