Changeset e666df1 in clfs-embedded for BOOK/cross-tools/common


Ignore:
Timestamp:
Nov 9, 2006, 4:56:08 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
4ef72df
Parents:
e2d2a2d
Message:

Updated Date
Added Busybox
Added Patches
Updated uClibc to build Busybox

File:
1 edited

Legend:

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

    re2d2a2d re666df1  
    2727    <title>Installation of Cross Binutils</title>
    2828
    29     <para os="da">It is important that Binutils be the first package compiled
    30     because both Glibc and GCC perform various tests on the available
     29    <para os="a">It is important that Binutils be the first package compiled
     30    because both uClibc and GCC perform various tests on the available
    3131    linker and assembler to determine which of their own features to
    3232    enable.</para>
    3333
    34 
    3534    <para os="p1">To make sure that the proper syntax is used for a couple of
    3635    tools, apply the following patch:</para>
     
    3837<screen os="p2"><userinput>patch -Np1 -i ../&binutils-posix-patch;</userinput></screen>
    3938
    40     <para os="a">The Binutils documentation recommends building Binutils outside of the
     39    <para os="b">The Binutils documentation recommends building Binutils outside of the
    4140    source directory in a dedicated build directory:</para>
    4241
    43 <screen os="b"><userinput>mkdir -v ../binutils-build
     42<screen os="c"><userinput>mkdir -v ../binutils-build
    4443cd ../binutils-build</userinput></screen>
    4544
    46     <para os="c">Prepare Binutils for compilation:</para>
    47 
    48 <screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=${CLFS}/cross-tools \
     45    <para os="d">Prepare Binutils for compilation:</para>
     46
     47<screen os="e"><userinput>../binutils-&binutils-version;/configure --prefix=${CLFS}/cross-tools \
    4948   --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-sysroot=${CLFS} \
    5049   --disable-nls --enable-shared --disable-multilib</userinput></screen>
    5150
    52     <variablelist os="bd">
     51    <variablelist os="f">
    5352      <title>The meaning of the configure options:</title>
    5453
    55       <varlistentry os="bd1">
     54      <varlistentry os="f1">
    5655        <term><parameter>--prefix=${CLFS}/cross-tools</parameter></term>
    5756        <listitem>
     
    6261      </varlistentry>
    6362
    64       <varlistentry os="bd2">
     63      <varlistentry os="f2">
    6564        <term><parameter>--host=${CLFS_HOST}</parameter></term>
    6665        <listitem>
     
    7170      </varlistentry>
    7271
    73       <varlistentry os="bd3">
     72      <varlistentry os="f3">
    7473        <term><parameter>--target=${CLFS_TARGET}</parameter></term>
    7574        <listitem>
     
    8079      </varlistentry>
    8180
    82       <varlistentry os="bd4">
     81      <varlistentry os="f4">
    8382        <term><parameter>--with-sysroot=${CLFS}</parameter></term>
    8483        <listitem>
     
    8988      </varlistentry>
    9089
    91       <varlistentry os="bd5">
     90      <varlistentry os="f5">
    9291        <term><parameter>--disable-nls</parameter></term>
    9392        <listitem>
     
    9796      </varlistentry>
    9897
    99       <varlistentry os="bd6">
     98      <varlistentry os="f6">
    10099        <term><parameter>--enable-shared</parameter></term>
    101100        <listitem>
     
    104103      </varlistentry>
    105104
    106       <varlistentry os="bd7">
     105      <varlistentry os="f7">
    107106        <term><parameter>--disable-multilib</parameter></term>
    108107        <listitem>
     
    114113    </variablelist>
    115114
    116     <para os="be">Compile the package:</para>
    117 
    118 <screen os="bf"><userinput>make configure-host
     115    <para os="g">Compile the package:</para>
     116
     117<screen os="h"><userinput>make configure-host
    119118make</userinput></screen>
    120119
    121     <variablelist os="bg">
     120    <variablelist os="i">
    122121      <title>The meaning of the make options:</title>
    123122
    124       <varlistentry os="bg1">
     123      <varlistentry os="i1">
    125124        <term><parameter>configure-host</parameter></term>
    126125        <listitem>
     
    132131    </variablelist>
    133132
    134     <para os="bh">Install the package:</para>
    135 
    136 <screen os="bi"><userinput>make install</userinput></screen>
    137 
    138     <para os="bj">Copy the <filename class="headerfile">libiberty.h</filename> file to
     133    <para os="j">Install the package:</para>
     134
     135<screen os="k"><userinput>make install</userinput></screen>
     136
     137    <para os="l">Copy the <filename class="headerfile">libiberty.h</filename> file to
    139138    <filename class="directory">${CLFS}/usr/include</filename> directory:</para>
    140139
    141 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${CLFS}/usr/include</userinput></screen>
     140<screen os="m"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${CLFS}/usr/include</userinput></screen>
    142141
    143142  </sect2>
Note: See TracChangeset for help on using the changeset viewer.