From 793f9087f14fecd775c15ff9ed9976485a8a331f Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Thu, 6 Oct 2022 09:07:42 +0200 Subject: Fix sanity check in chapter 5 When I changed the sanity check to remove the "dummy.c" file, I inadvertently used "gcc" instead of "$LFS_TGT-gcc". Which of course finds the host gcc... --- chapter05/glibc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter05') diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 103fa42c8..7b118c540 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -195,7 +195,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, -- cgit v1.2.3-54-g00ecf