Changeset efcb393 for chapter05/make.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, 12.2, 12.2-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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- a715dec
- Parents:
- 9d719e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/make.xml
r9d719e2 refcb393 42 42 <sect2 role="installation"> 43 43 <title>Installation of Make</title> 44 <!--45 <para>First, work around an error caused by glibc-2.27 and later:</para>46 44 47 <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>48 -->49 45 <para>Prepare Make for compilation:</para> 50 46 51 <screen><userinput remap="configure">./configure --prefix=/tools --without-guile</userinput></screen> 52 53 <variablelist> 54 <title>The meaning of the configure option:</title> 55 56 <varlistentry> 57 <term><parameter>--without-guile</parameter></term> 58 <listitem> 59 <para>This ensures that Make-&make-version; won't link against Guile libraries, which 60 may be present on the host system, but won't be available within the 61 <command>chroot</command> environment in the next chapter.</para> 62 </listitem> 63 </varlistentry> 64 </variablelist> 47 <screen><userinput remap="configure">./configure --prefix=/usr \ 48 --host=$LFS_TGT \ 49 --build=$(build-aux/config.guess)</userinput></screen> 65 50 66 51 <para>Compile the package:</para> … … 68 53 <screen><userinput remap="make">make</userinput></screen> 69 54 70 <para>Compilation is now complete. As discussed earlier, running the test71 suite is not mandatory for the temporary tools here in this chapter. To run72 the Make test suite anyway, issue the following command:</para>73 74 <screen><userinput remap="test">make check</userinput></screen>75 76 55 <para>Install the package:</para> 77 56 78 <screen><userinput remap="install">make install</userinput></screen>57 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 79 58 80 59 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.