diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 00f95ec5a..9cc4e4a65 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -206,7 +206,7 @@ cd build functions (compiling and linking) of the new toolchain are working as expected. To perform a sanity check, run the following commands: -echo 'int main(){}' | gcc -xc - +echo 'int main(){}' | $LFS_TGT-gcc -xc - readelf -l a.out | grep ld-linux If everything is working correctly, there should be no errors, diff --git a/part3intro/toolchaintechnotes.xml b/part3intro/toolchaintechnotes.xml index c5b8dc577..aae3d7f3a 100644 --- a/part3intro/toolchaintechnotes.xml +++ b/part3intro/toolchaintechnotes.xml @@ -267,7 +267,7 @@ package on a complete LFS system, the installed content of the package should be same as the content of the same package installed in &ch-final;. The temporary packages installed in &ch-tmp-cross; or - &ch-tmp-chroot; cannot satisify this expectation because some of them + &ch-tmp-chroot; cannot satisfy this expectation because some of them are built without optional dependencies installed, and autoconf cannot perform some feature checks in &ch-tmp-cross; because of cross compilation, causing the temporary packages to lack optional features