mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 13:07:50 +00:00
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:
parent
ceb61b9e38
commit
793f9087f1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user