Ignore:
Timestamp:
09/03/2007 05:07:19 AM (17 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
c11bcb7
Parents:
a6be895
Message:

Remove the -m64 sections from binutils and gcc pass 1. Tests show the 32-bit binaries produce the wanted 64-bit code.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass2.xml

    ra6be895 r4759793f  
    135135    variables that override the default optimization flags.</para>
    136136
    137     <para>The --with-arch flag is only necessary for x86 machines.</para>
    138 
    139 <screen><userinput>case $(uname -m) in
    140   i?86) WITHARCH="--with-arch=i486" ;;
    141 esac</userinput></screen>
     137    <para>Set the --with-arch flag if the machine is x86:</para>
     138
     139<screen><userinput>test $(uname -m | grep i?86) &amp;&amp; WITHARCH="--with-arch=i486"</userinput></screen>
    142140
    143141    <para>Now prepare GCC for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.