Ignore:
Timestamp:
08/30/2007 05:34:55 PM (17 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
f65c459
Parents:
0d2c43f
Message:

Use --with-arch=i486 only for x86. Also force '-m64' for 64-bit builds.

Lastly, use 'make' instead of 'make bootstrap' on gcc pass 1. The bootstrap is now default.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass2.xml

    r0d2c43f rb8dd57d6  
    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  x86) WITHARCH="--with-arch=i486" ;;
     141esac</userinput></screen>
     142
    137143    <para>Now prepare GCC for compilation:</para>
    138144
     
    142148    --enable-__cxa_atexit --enable-languages=c,c++ \
    143149    --disable-libstdcxx-pch --disable-multilib \
    144     --with-arch=i486</userinput></screen>
     150    $WITHARCH
     151unset WITHARCH</userinput></screen>
    145152
    146153    <variablelist>
Note: See TracChangeset for help on using the changeset viewer.