Changeset 3d56263


Ignore:
Timestamp:
09/23/2015 07:13:55 PM (9 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
ea23e54
Parents:
4936776
Message:

Fix a warning when doing test compiles.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10953 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter05/adjusting.xml

    r4936776 r3d56263  
    4646    expected. To perform a sanity check, run the following commands:</para>
    4747
    48 <screen><userinput>echo 'main(){}' &gt; dummy.c
     48<screen><userinput>echo 'int main(){}' &gt; dummy.c
    4949$LFS_TGT-gcc -B/tools/lib dummy.c
    5050readelf -l a.out | grep ': /tools'</userinput></screen>
  • chapter05/gcc-pass2.xml

    r4936776 r3d56263  
    182182    expected. To perform a sanity check, run the following commands:</para>
    183183
    184 <screen><userinput>echo 'main(){}' &gt; dummy.c
     184<screen><userinput>echo 'int main(){}' &gt; dummy.c
    185185cc dummy.c
    186186readelf -l a.out | grep ': /tools'</userinput></screen>
  • chapter05/glibc.xml

    r4936776 r3d56263  
    192192    expected. To perform a sanity check, run the following commands:</para>
    193193
    194 <screen><userinput>echo 'main(){}' &gt; dummy.c
     194<screen><userinput>echo 'int main(){}' &gt; dummy.c
    195195$LFS_TGT-gcc dummy.c
    196196readelf -l a.out | grep ': /tools'</userinput></screen>
  • chapter06/adjusting.xml

    r4936776 r3d56263  
    4343  as expected. To do this, perform the following sanity checks:</para>
    4444
    45 <screen os="a"><userinput>echo 'main(){}' &gt; dummy.c
     45<screen os="a"><userinput>echo 'int main(){}' &gt; dummy.c
    4646cc dummy.c -v -Wl,--verbose &amp;&gt; dummy.log
    4747readelf -l a.out | grep ': /lib'</userinput></screen>
  • prologue/hostreqs.xml

    r4936776 r3d56263  
    205205xz --version | head -n1
    206206
    207 echo 'main(){}' &gt; dummy.c &amp;&amp; g++ -o dummy dummy.c
     207echo 'int main(){}' &gt; dummy.c &amp;&amp; g++ -o dummy dummy.c
    208208if [ -x dummy ]
    209209  then echo "g++ compilation OK";
Note: See TracChangeset for help on using the changeset viewer.