- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/binutils.xml
r3d5c658 r04c3a53 50 50 51 51 <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> 55 55 56 56 <variablelist os="bd"> … … 83 83 84 84 <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"> 85 93 <term><parameter>--with-lib-path=/tools/lib</parameter></term> 86 94 <listitem> … … 93 101 </varlistentry> 94 102 95 <varlistentry os="bd 5">103 <varlistentry os="bd6"> 96 104 <term><parameter>--disable-nls</parameter></term> 97 105 <listitem> … … 101 109 </varlistentry> 102 110 103 <varlistentry os="bd 6">111 <varlistentry os="bd7"> 104 112 <term><parameter>--disable-multilib</parameter></term> 105 113 <listitem> … … 109 117 </varlistentry> 110 118 111 <varlistentry os="bd 7">119 <varlistentry os="bd8"> 112 120 <term><parameter>--enable-64-bit-bfd</parameter></term> 113 121 <listitem> … … 120 128 <para os="be">Compile the package:</para> 121 129 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> 137 131 138 132 <para os="bh">Install the package:</para> 139 133 140 134 <screen os="bi"><userinput>make install</userinput></screen> 141 142 <para os="bj">Copy <filename class="headerfile">libiberty.h</filename> to143 <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>146 135 147 136 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.