Ignore:
File:
1 edited

Legend:

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

    r04c3a53 r3d5c658  
    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">
    9385        <term><parameter>--with-lib-path=/tools/lib</parameter></term>
    9486        <listitem>
     
    10193      </varlistentry>
    10294
    103       <varlistentry os="bd6">
     95      <varlistentry os="bd5">
    10496        <term><parameter>--disable-nls</parameter></term>
    10597        <listitem>
     
    109101      </varlistentry>
    110102
    111       <varlistentry os="bd7">
     103      <varlistentry os="bd6">
    112104        <term><parameter>--disable-multilib</parameter></term>
    113105        <listitem>
     
    117109      </varlistentry>
    118110
    119       <varlistentry os="bd8">
     111      <varlistentry os="bd7">
    120112        <term><parameter>--enable-64-bit-bfd</parameter></term>
    121113        <listitem>
     
    128120    <para os="be">Compile the package:</para>
    129121
    130 <screen os="bf"><userinput>make</userinput></screen>
     122<screen os="bf"><userinput>make configure-host
     123make</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>
    131137
    132138    <para os="bh">Install the package:</para>
    133139
    134140<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>
    135146
    136147  </sect2>
Note: See TracChangeset for help on using the changeset viewer.