Changeset 75d34e0 for BOOK/cross-tools/common
- Timestamp:
- Dec 2, 2006, 10:03:22 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 04d38ab
- Parents:
- 45683dc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/binutils.xml
r45683dc r75d34e0 45 45 xpointer="xpointer(//*[@os='i'])"/> 46 46 47 <screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \ 48 --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \ 49 --disable-nls --enable-shared --disable-multilib</userinput></screen> 47 <screen os="bc"><userinput>../binutils-&binutils-version;/configure \ 48 --prefix=${CLFS}/cross-tools --with-sysroot=${CLFS} --host=${CLFS_HOST} \ 49 --target=${CLFS_TARGET} --disable-nls --enable-shared \ 50 --enable-64-bit-bfd --disable-multilib</userinput></screen> 50 51 51 52 <variablelist os="bd"> … … 53 54 54 55 <varlistentry os="bd1"> 55 <term><parameter>--prefix= /cross-tools</parameter></term>56 <term><parameter>--prefix=${CLFS}/cross-tools</parameter></term> 56 57 <listitem> 57 58 <para>This tells the configure script to prepare to install the 58 package in the <filename class="directory"> /cross-tools</filename>59 package in the <filename class="directory">${CLFS}/cross-tools</filename> 59 60 directory.</para> 60 61 </listitem> … … 62 63 63 64 <varlistentry os="bd2"> 65 <term><parameter>--with-sysroot=${CLFS}</parameter></term> 66 <listitem> 67 <para>This tells configure that 68 <filename class="directory">${CLFS}</filename> is going to be 69 the root of our system. It will now use the specified sysroot, 70 <filename class="directory">${CLFS}</filename>.</para> 71 </listitem> 72 </varlistentry> 73 74 <varlistentry os="bd3"> 64 75 <term><parameter>--host=${CLFS_HOST}</parameter></term> 65 76 <listitem> … … 69 80 </varlistentry> 70 81 71 <varlistentry os="bd 3">82 <varlistentry os="bd4"> 72 83 <term><parameter>--target=${CLFS_TARGET}</parameter></term> 73 84 <listitem> 74 85 <para>When used with --host, this creates a cross-architecture 75 86 executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST}.</para> 76 </listitem>77 </varlistentry>78 79 <varlistentry os="bd4">80 <term><parameter>--with-lib-path=/tools/lib</parameter></term>81 <listitem>82 <para>This tells the configure script to specify the library83 search path during the compilation of Binutils, resulting in84 <filename class="directory">/tools/lib</filename> being passed85 to the linker. This prevents the linker from searching through86 library directories on the host.</para>87 87 </listitem> 88 88 </varlistentry> … … 136 136 137 137 <para os="bj">Copy <filename class="headerfile">libiberty.h</filename> to 138 <filename class="directory"> /tools/include</filename> directory:</para>138 <filename class="directory">${CLFS}/tools/include</filename> directory:</para> 139 139 140 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen>140 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h ${CLFS}/tools/include</userinput></screen> 141 141 142 142 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.