Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/binutils.xml

    r3d5c658 r04c3a53  
    5050
    5151<screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \
    52   --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    53   --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls \
    54   --disable-static --enable-64-bit-bfd --disable-multilib</userinput></screen>
     52    --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
     53    --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls \
     54    --disable-static --enable-64-bit-bfd --disable-multilib</userinput></screen>
    5555
    5656    <variablelist os="bd">
     
    8383
    8484      <varlistentry os="bd4">
     85        <term><parameter>--with-sysroot=${CLFS}</parameter></term>
     86        <listitem>
     87          <para>Tells configure to build a linker that uses ${CLFS} as its
     88          root directory for its search paths.</para>
     89        </listitem>
     90      </varlistentry>
     91
     92      <varlistentry os="bd5">
    8593        <term><parameter>--with-lib-path=/tools/lib</parameter></term>
    8694        <listitem>
     
    93101      </varlistentry>
    94102
    95       <varlistentry os="bd5">
     103      <varlistentry os="bd6">
    96104        <term><parameter>--disable-nls</parameter></term>
    97105        <listitem>
     
    101109      </varlistentry>
    102110
    103       <varlistentry os="bd6">
     111      <varlistentry os="bd7">
    104112        <term><parameter>--disable-multilib</parameter></term>
    105113        <listitem>
     
    109117      </varlistentry>
    110118
    111       <varlistentry os="bd7">
     119      <varlistentry os="bd8">
    112120        <term><parameter>--enable-64-bit-bfd</parameter></term>
    113121        <listitem>
     
    120128    <para os="be">Compile the package:</para>
    121129
    122 <screen os="bf"><userinput>make configure-host
    123 make</userinput></screen>
    124 
    125     <variablelist os="bg">
    126       <title>The meaning of the make options:</title>
    127 
    128       <varlistentry os="bg1">
    129         <term><parameter>configure-host</parameter></term>
    130         <listitem>
    131           <para>This checks the host environment and makes sure all the
    132           necessary tools are available to compile Binutils.</para>
    133         </listitem>
    134       </varlistentry>
    135 
    136     </variablelist>
     130<screen os="bf"><userinput>make</userinput></screen>
    137131
    138132    <para os="bh">Install the package:</para>
    139133
    140134<screen os="bi"><userinput>make install</userinput></screen>
    141 
    142     <para os="bj">Copy <filename class="headerfile">libiberty.h</filename> to
    143     <filename class="directory">/tools/include</filename> directory:</para>
    144 
    145 <screen os="bk"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /tools/include</userinput></screen>
    146135
    147136  </sect2>
Note: See TracChangeset for help on using the changeset viewer.