Changeset a6be895


Ignore:
Timestamp:
09/01/2007 03:11:54 AM (17 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
4759793f
Parents:
944d1e4
Message:

Update the explanatory text for the use of '-m64'

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r944d1e4 ra6be895  
    4040      <para>2007-08-31</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[jhuntwork] - Update explanatory text for the use of -m64.</para>
     44        </listitem>
    4245        <listitem>
    4346          <para>[jhuntwork] - Update explanatory text for GCC's --with-arch parameter.</para>
  • chapter05/binutils-pass1.xml

    r944d1e4 ra6be895  
    5858    </note>
    5959
    60     <para>Test to see if the host is a multilib capable machine and set a variable
    61     if it is. This ensures that only 64-bit binaries are built if using such a host.
    62     </para>
     60    <para>Test to see if the host is a 64-bit capable machine and set a variable
     61    if it is.</para>
    6362
    6463<screen><userinput>test $(uname -m | grep 64) &amp;&amp; M64="-m64"</userinput></screen>
     
    7473
    7574      <varlistentry>
    76         <term><envar>CC="gcc -B/usr/bin/"</envar></term>
     75        <term><envar>CC="gcc -B/usr/bin/ $M64"</envar></term>
    7776        <listitem>
    7877          <para>This forces <command>gcc</command> to prefer the linker from
     
    8180          built here is not compatible with the host's <command>gcc</command>.
    8281          </para>
     82          <para>Also, if the cpu-type is 64-bit capable, the variable <envar>$M64</envar>
     83          will contain the parameter <parameter>-m64</parameter>. Otherwise, the
     84          variable is empty. The parameter forces <command>gcc</command> to build
     85          64-bit binaries. Using that parameter here and for the next package
     86          ensures creation of a linker, assembler and compiler that will in turn
     87          create only 64-bit binaries. This is necessary since currently this book
     88          does not support the creation of multilib systems, i.e., those with both
     89          32-bit and 64-bit libraries. This will only make a difference on hosts that
     90          are themselves multilib and employ a compiler that creates 32-bit binaries
     91          by default.</para>
    8392        </listitem>
    8493      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.