Changeset 3d56263


Ignore:
Timestamp:
09/23/2015 07:13:55 PM (6 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, 7.10, 7.10-rc1, 7.8, 7.9, 7.9-rc1, 7.9-rc2, 8.0, 8.0-rc1, 8.1, 8.1-rc1, 8.1-rc2, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, BOOK.old, cross-chap5, ml-11.0, multilib, nosym, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
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.