From faf4963f4ccbac0f4f3be2f6c375c13d8fc0948e Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Thu, 7 Nov 2024 14:48:54 +0100 Subject: [PATCH] Fix some typos --- chapter02/hostreqs.xml | 8 ++++---- chapter05/gcc-pass1.xml | 2 +- prologue/multilib.xml | 13 +++++++------ 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 0d765085b..852d1a07f 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -300,10 +300,10 @@ bash version-check.sh - If the kernel feature required by a multilib is not enabled, - building the multilib for a package in Chapter 8 may either fail - immediately, or cause hidden breakages because autoconf cannot - probe the system features properly. + If the kernel feature required for a multilib architecture is not + enabled, building the multilib architecture for a package in + Chapter 8 may either fail immediately, or cause hidden breakages + because autoconf cannot probe the system features properly. diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index e72f29eb1..cbd3456b4 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -201,7 +201,7 @@ cd build --enable-multilib --with-multilib-list=... - LFS canbe used to support multilib. Which they are is + LFS can be used to support multilib. Which they are is specified in the multilib list. diff --git a/prologue/multilib.xml b/prologue/multilib.xml index b4bf7975d..8006ca7f8 100644 --- a/prologue/multilib.xml +++ b/prologue/multilib.xml @@ -66,8 +66,8 @@ approach of LFS which is to show you how to build a Linux system. To achieve this, no support for additional architectures than the default one for your system is required. If you haven't - previously built by the standard LFS book, you are encouraged to - do so before using this edition. + previously built a system using the standard LFS book, you are + encouraged to do so before using this edition. @@ -75,11 +75,12 @@ Building a multilib system is not that much different from building a system by using the 'native' LFS book. Beside some - tweaks here and there the most prominent difference is that - multilib requires compiling some applications up to three times: + tweaks here and there the most prominent difference is that a + multilib system requires compiling some applications up to three + times: one for the primary 64-bit architecture, one for the 32-bit architecture (m32), - and once again for the 32-bit architecture with is 32-bit memory + and once again for the 32-bit architecture with its 32-bit memory access and 64 bit instruction set (mx32). Continue only if you and your system meets the following @@ -92,7 +93,7 @@ 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 + CONFIG_X86_X32_ABI=y set in order to build for mx32.