Changeset efcb393 for chapter05/binutils-pass1.xml
- Timestamp:
- 05/03/2020 09:02:51 PM (4 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- a715dec
- Parents:
- 9d719e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/binutils-pass1.xml
r9d719e2 refcb393 67 67 && make install; }</userinput>.</para> 68 68 </note> 69 69 <!-- 70 70 <note><para>The approximate build SBU values and required disk space 71 71 in Chapter 5 does not include test suite data.</para></note> 72 72 --> 73 73 <para>Now prepare Binutils for compilation:</para> 74 74 75 <screen><userinput remap="configure">../configure --prefix= /tools\75 <screen><userinput remap="configure">../configure --prefix=$LFS/tools \ 76 76 --with-sysroot=$LFS \ 77 --with-lib-path=/tools/lib \78 77 --target=$LFS_TGT \ 79 78 --disable-nls \ … … 84 83 85 84 <varlistentry> 86 <term><parameter>--prefix= /tools</parameter></term>85 <term><parameter>--prefix=$LFS/tools</parameter></term> 87 86 <listitem> 88 87 <para>This tells the configure script to prepare to install the 89 Binutils programs in the <filename class="directory">/tools</filename>90 directory.</para>88 Binutils programs in the <filename 89 class="directory">$LFS/tools</filename> directory.</para> 91 90 </listitem> 92 91 </varlistentry> … … 99 98 </listitem> 100 99 </varlistentry> 101 100 <!-- 102 101 <varlistentry> 103 <term><parameter>- -with-lib-path=/tools/lib</parameter></term>102 <term><parameter>- -with-lib-path=/tools/lib</parameter></term> 104 103 <listitem> 105 104 <para>This specifies which library path the linker should be … … 107 106 </listitem> 108 107 </varlistentry> 109 108 --> 110 109 <varlistentry> 111 110 <term><envar>--target=$LFS_TGT</envar></term> … … 141 140 <screen><userinput remap="make">make</userinput></screen> 142 141 143 <para>Compilation is now complete. Ordinarily we would now run the144 test suite, but at this early stage the test suite framework (Tcl,145 Expect, and DejaGNU) is not yet in place. The benefits of running the146 tests at this point are minimal since the programs from this147 first pass will soon be replaced by those from the second.</para>148 149 <para>If building on x86_64, create a symlink to ensure the sanity of150 the toolchain:</para>151 152 <screen><userinput remap="install">case $(uname -m) in153 x86_64) mkdir -v /tools/lib && ln -sv lib /tools/lib64 ;;154 esac</userinput></screen>155 156 142 <para>Install the package:</para> 157 143
Note:
See TracChangeset
for help on using the changeset viewer.