mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
gcc: Use the same style for the sanity check compile command as glibc pass1
There seems no valid reason to use a different style here.
This commit is contained in:
parent
87e90fb633
commit
e55a481032
@ -223,8 +223,7 @@ su tester -c "PATH=$PATH make -k check"</userinput></screen>
|
|||||||
that compiling and linking will work as expected. We do this by performing
|
that compiling and linking will work as expected. We do this by performing
|
||||||
some sanity checks:</para>
|
some sanity checks:</para>
|
||||||
|
|
||||||
<screen><userinput>echo 'int main(){}' > dummy.c
|
<screen><userinput>echo 'int main(){}' | cc dummy.c -x c - -v -Wl,--verbose &> dummy.log
|
||||||
cc dummy.c -v -Wl,--verbose &> dummy.log
|
|
||||||
readelf -l a.out | grep ': /lib'</userinput></screen>
|
readelf -l a.out | grep ': /lib'</userinput></screen>
|
||||||
|
|
||||||
<para>There should be no errors,
|
<para>There should be no errors,
|
||||||
@ -319,7 +318,7 @@ SEARCH_DIR("/usr/lib");</computeroutput></screen>
|
|||||||
|
|
||||||
<para>Once everything is working correctly, clean up the test files:</para>
|
<para>Once everything is working correctly, clean up the test files:</para>
|
||||||
|
|
||||||
<screen><userinput>rm -v dummy.c a.out dummy.log</userinput></screen>
|
<screen><userinput>rm -v a.out dummy.log</userinput></screen>
|
||||||
|
|
||||||
<para>Finally, move a misplaced file:</para>
|
<para>Finally, move a misplaced file:</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user