Changeset e666df1 in clfs-embedded for BOOK/cross-tools/common
- Timestamp:
- Nov 9, 2006, 4:56:08 PM (18 years ago)
- Branches:
- master
- Children:
- 4ef72df
- Parents:
- e2d2a2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/binutils.xml
re2d2a2d re666df1 27 27 <title>Installation of Cross Binutils</title> 28 28 29 <para os=" da">It is important that Binutils be the first package compiled30 because both Glibc and GCC perform various tests on the available29 <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 31 31 linker and assembler to determine which of their own features to 32 32 enable.</para> 33 33 34 35 34 <para os="p1">To make sure that the proper syntax is used for a couple of 36 35 tools, apply the following patch:</para> … … 38 37 <screen os="p2"><userinput>patch -Np1 -i ../&binutils-posix-patch;</userinput></screen> 39 38 40 <para os=" a">The Binutils documentation recommends building Binutils outside of the39 <para os="b">The Binutils documentation recommends building Binutils outside of the 41 40 source directory in a dedicated build directory:</para> 42 41 43 <screen os=" b"><userinput>mkdir -v ../binutils-build42 <screen os="c"><userinput>mkdir -v ../binutils-build 44 43 cd ../binutils-build</userinput></screen> 45 44 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 \ 49 48 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-sysroot=${CLFS} \ 50 49 --disable-nls --enable-shared --disable-multilib</userinput></screen> 51 50 52 <variablelist os=" bd">51 <variablelist os="f"> 53 52 <title>The meaning of the configure options:</title> 54 53 55 <varlistentry os=" bd1">54 <varlistentry os="f1"> 56 55 <term><parameter>--prefix=${CLFS}/cross-tools</parameter></term> 57 56 <listitem> … … 62 61 </varlistentry> 63 62 64 <varlistentry os=" bd2">63 <varlistentry os="f2"> 65 64 <term><parameter>--host=${CLFS_HOST}</parameter></term> 66 65 <listitem> … … 71 70 </varlistentry> 72 71 73 <varlistentry os=" bd3">72 <varlistentry os="f3"> 74 73 <term><parameter>--target=${CLFS_TARGET}</parameter></term> 75 74 <listitem> … … 80 79 </varlistentry> 81 80 82 <varlistentry os=" bd4">81 <varlistentry os="f4"> 83 82 <term><parameter>--with-sysroot=${CLFS}</parameter></term> 84 83 <listitem> … … 89 88 </varlistentry> 90 89 91 <varlistentry os=" bd5">90 <varlistentry os="f5"> 92 91 <term><parameter>--disable-nls</parameter></term> 93 92 <listitem> … … 97 96 </varlistentry> 98 97 99 <varlistentry os=" bd6">98 <varlistentry os="f6"> 100 99 <term><parameter>--enable-shared</parameter></term> 101 100 <listitem> … … 104 103 </varlistentry> 105 104 106 <varlistentry os=" bd7">105 <varlistentry os="f7"> 107 106 <term><parameter>--disable-multilib</parameter></term> 108 107 <listitem> … … 114 113 </variablelist> 115 114 116 <para os=" be">Compile the package:</para>117 118 <screen os=" bf"><userinput>make configure-host115 <para os="g">Compile the package:</para> 116 117 <screen os="h"><userinput>make configure-host 119 118 make</userinput></screen> 120 119 121 <variablelist os=" bg">120 <variablelist os="i"> 122 121 <title>The meaning of the make options:</title> 123 122 124 <varlistentry os=" bg1">123 <varlistentry os="i1"> 125 124 <term><parameter>configure-host</parameter></term> 126 125 <listitem> … … 132 131 </variablelist> 133 132 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 to133 <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 139 138 <filename class="directory">${CLFS}/usr/include</filename> directory:</para> 140 139 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> 142 141 143 142 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.