aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2022-10-06 09:07:42 +0200
committerPierre Labastie <pierre.labastie@neuf.fr>2022-10-06 09:07:42 +0200
commit793f9087f14fecd775c15ff9ed9976485a8a331f (patch)
treee08007223f2b3e8d1e24e9c51d3d2778bd063cb1
parentceb61b9e387616b89dc36aed1692536d404c93a7 (diff)
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...
-rw-r--r--chapter05/glibc.xml2
1 files changed, 1 insertions, 1 deletions
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</userinput></screen>
functions (compiling and linking) of the new toolchain are working as
expected. To perform a sanity check, run the following commands:</para>
-<screen><userinput>echo 'int main(){}' | gcc -xc -
+<screen><userinput>echo 'int main(){}' | $LFS_TGT-gcc -xc -
readelf -l a.out | grep ld-linux</userinput></screen>
<para>If everything is working correctly, there should be no errors,