- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/binutils.xml
r04c3a53 r3d5c658 50 50 51 51 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \ 52 53 54 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 its88 root directory for its search paths.</para>89 </listitem>90 </varlistentry>91 92 <varlistentry os="bd5">93 85 <term><parameter>--with-lib-path=/tools/lib</parameter></term> 94 86 <listitem> … … 101 93 </varlistentry> 102 94 103 <varlistentry os="bd 6">95 <varlistentry os="bd5"> 104 96 <term><parameter>--disable-nls</parameter></term> 105 97 <listitem> … … 109 101 </varlistentry> 110 102 111 <varlistentry os="bd 7">103 <varlistentry os="bd6"> 112 104 <term><parameter>--disable-multilib</parameter></term> 113 105 <listitem> … … 117 109 </varlistentry> 118 110 119 <varlistentry os="bd 8">111 <varlistentry os="bd7"> 120 112 <term><parameter>--enable-64-bit-bfd</parameter></term> 121 113 <listitem> … … 128 120 <para os="be">Compile the package:</para> 129 121 130 <screen os="bf"><userinput>make</userinput></screen> 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> 131 137 132 138 <para os="bh">Install the package:</para> 133 139 134 140 <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> 135 146 136 147 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.