diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index a454808ad..2bc3c75c0 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -173,18 +173,17 @@ File systems ---> Binary Emulations ---> - [*] IA32 Emulation - <M> IA32 a.out support + [*] IA32 Emulation [CONFIG_IA32_EMULATION] + <M> IA32 a.out support [CONFIG_IA32_AOUT] Binary Emulations ---> - [*] x32 ABI for 64-bit mode + [*] x32 ABI for 64-bit mode [CONFIG_X86_X32] Binary Emulations ---> - [*] IA32 Emulation - <M> IA32 a.out support - [*] x32 ABI for 64-bit mode + [*] IA32 Emulation [CONFIG_IA32_EMULATION] + <M> IA32 a.out support [CONFIG_IA32_AOUT] + [*] x32 ABI for 64-bit mode [CONFIG_X86_X32] - diff --git a/prologue/multilib.xml b/prologue/multilib.xml index a579d2c3a..90764f7e1 100644 --- a/prologue/multilib.xml +++ b/prologue/multilib.xml @@ -85,7 +85,36 @@ Continue only if you and your system meets the following requirements: - you have a x86_64 compatible machine + + you have a x86_64 compatible machine + + If you have access to the kernel config for your system, + you will need to have + CONFIG_IA32_EMULATION=y + set in order to build for m32 and + CONFIG_X86_X32=y set in order to + build for mx32. + + + If you do not have access to the kernel config for your system, + you may be able to test for compatability by running the + following commands: + +echo 'int main(){}' > dummy.c +gcc -m32 dummy.c +./a.out + +gcc -mx32 dummy.c +./a.out + + If either of the ./a.out commands results in an + "Exec format error" message, then you do not have a system kernel + capable of building for that architecture within LFS, and so you + should probably look to build an LFS system without Multilib, but + with the required kernel capabilities, and use that to build a + Multilib system. + + you already have some experience with LFS you have a need for 32-bit support