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...
This commit is contained in:
Pierre Labastie 2022-10-06 09:07:42 +02:00
parent ceb61b9e38
commit 793f9087f1

View File

@ -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,