Changeset 8eb3fe4 for chapter05/binutils-pass2.xml
- Timestamp:
- 04/01/2019 05:00:45 PM (5 years ago)
- Branches:
- multilib-10.1
- Children:
- 7d9f881
- Parents:
- 1fa2099
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/binutils-pass2.xml
r1fa2099 r8eb3fe4 51 51 <para>Prepare Binutils for compilation:</para> 52 52 53 <screen ><userinput remap="configure">CC=$LFS_TGT-gcc \53 <screen arch="default"><userinput remap="configure">CC=$LFS_TGT-gcc \ 54 54 AR=$LFS_TGT-ar \ 55 55 RANLIB=$LFS_TGT-ranlib \ … … 60 60 --with-lib-path=/tools/lib \ 61 61 --with-sysroot</userinput></screen> 62 63 <screen arch="multilib"><userinput remap="configure">CC=$LFS_TGT-gcc \ 64 AR=$LFS_TGT-ar \ 65 RANLIB=$LFS_TGT-ranlib \ 66 ../configure \ 67 --prefix=/tools \ 68 --disable-nls \ 69 --disable-werror \ 70 --with-lib-path=/tools/lib:/tools/lib32:/tools/libx32 \ 71 --with-sysroot \ 72 --enable-64-bit-bfd \ 73 --enable-multilib</userinput></screen> 62 74 63 75 <variablelist> … … 73 85 </varlistentry> 74 86 75 <varlistentry >87 <varlistentry arch="default"> 76 88 <term><parameter>--with-lib-path=/tools/lib</parameter></term> 77 89 <listitem> … … 79 91 search path during the compilation of Binutils, resulting in 80 92 <filename class="directory">/tools/lib</filename> being passed 93 to the linker. This prevents the linker from searching through 94 library directories on the host.</para> 95 </listitem> 96 </varlistentry> 97 98 <varlistentry arch="multilib"> 99 <term><parameter>--with-lib-path=/tools/lib:...</parameter></term> 100 <listitem> 101 <para>This tells the configure script to specify the library 102 search path during the compilation of Binutils, resulting in 103 <filename class="directory">/tools/lib</filename>, 104 <filename class="directory">/tools/lib32</filename> and 105 <filename class="directory">/tools/libx32</filename> being passed 81 106 to the linker. This prevents the linker from searching through 82 107 library directories on the host.</para> … … 94 119 </varlistentry> 95 120 121 <varlistentry arch="multilib"> 122 <term><parameter>--enable-64-bit-bfd</parameter></term> 123 <listitem> 124 <para>TODO</para> 125 </listitem> 126 </varlistentry> 127 128 <varlistentry arch="multilib"> 129 <term><parameter>--enable-multilib</parameter></term> 130 <listitem> 131 <para>TODO</para> 132 </listitem> 133 </varlistentry> 134 96 135 </variablelist> 97 136 … … 107 146 the next chapter:</para> 108 147 109 <screen ><userinput remap="adjust">make -C ld clean148 <screen arch="default"><userinput remap="adjust">make -C ld clean 110 149 make -C ld LIB_PATH=/usr/lib:/lib 150 cp -v ld/ld-new /tools/bin</userinput></screen> 151 152 <screen arch="multilib"><userinput remap="adjust">make -C ld clean 153 make -C ld LIB_PATH=/usr/lib:/lib:/usr/lib32:/lib32:/usr/libx32:/libx32 111 154 cp -v ld/ld-new /tools/bin</userinput></screen> 112 155
Note:
See TracChangeset
for help on using the changeset viewer.