- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/binutils-32.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 --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> … … 121 113 <para os="be">Compile the package:</para> 122 114 123 <screen os="bf"><userinput>make</userinput></screen> 115 <screen os="bf"><userinput>make configure-host 116 make</userinput></screen> 117 118 <variablelist os="bg"> 119 <title>The meaning of the make options:</title> 120 121 <varlistentry os="bg1"> 122 <term><parameter>configure-host</parameter></term> 123 <listitem> 124 <para>This checks the host environment and makes sure all the 125 necessary tools are available to compile Binutils.</para> 126 </listitem> 127 </varlistentry> 128 129 </variablelist> 124 130 125 131 <para os="bh">Install the package:</para> 126 132 127 133 <screen os="bi"><userinput>make install</userinput></screen> 134 135 <para os="bj">Copy <filename class="headerfile">libiberty.h</filename> to 136 <filename class="directory">/tools/include</filename> directory:</para> 137 138 <screen os="bk"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /tools/include</userinput></screen> 128 139 129 140 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.