Changeset 1203312 for chapter05


Ignore:
Timestamp:
09/01/2022 11:27:01 AM (22 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
6c952e3
Parents:
9023df4 (diff), baecd49 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

Location:
chapter05
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    r9023df4 r1203312  
    200200      expected. To perform a sanity check, run the following commands:</para>
    201201
    202 <screen><userinput>echo 'int main(){}' &gt; dummy.c
    203 $LFS_TGT-gcc dummy.c
    204 readelf -l a.out | grep '/ld-linux'</userinput></screen>
     202<screen><userinput>echo 'int main(){}' | gcc -xc -
     203readelf -l a.out | grep ld-linux</userinput></screen>
    205204
    206205      <para>If everything is working correctly, there should be no errors,
     
    217216      continuing on.</para>
    218217
    219       <para>Once all is well, clean up the test files:</para>
    220 
    221 <screen><userinput>rm -v dummy.c a.out</userinput></screen>
     218      <para>Once all is well, clean up the test file:</para>
     219
     220<screen><userinput>rm -v a.out</userinput></screen>
    222221
    223222    </caution>
  • chapter05/linux-headers.xml

    r9023df4 r1203312  
    6161
    6262<screen><userinput remap="make">make headers ARCH=<replaceable>x86</replaceable>
    63 find usr/include -name '.*' -delete
    64 rm usr/include/Makefile
     63find usr/include -type f ! -name '*.h' -delete
    6564</userinput><userinput remap="install">cp -rv usr/include $LFS/usr</userinput></screen>
    6665
Note: See TracChangeset for help on using the changeset viewer.