Changeset efcb393 for chapter05/gawk.xml


Ignore:
Timestamp:
05/03/2020 09:02:51 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
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
Message:

Make the new book

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gawk.xml

    r9d719e2 refcb393  
    4444    <title>Installation of Gawk</title>
    4545
     46    <para>First, ensure some unneeded files are not installed:</para>
     47
     48<screen><userinput remap="pre">sed -i 's/extras//' Makefile.in</userinput></screen>
     49
    4650    <para>Prepare Gawk for compilation:</para>
    4751
    48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
     52<screen><userinput remap="configure">./configure --prefix=/usr   \
     53            --host=$LFS_TGT \
     54            --build=$(./config.guess)</userinput></screen>
    4955
    5056    <para>Compile the package:</para>
     
    5258<screen><userinput remap="make">make</userinput></screen>
    5359
    54     <para>Compilation is now complete. As discussed earlier, running the test
    55     suite is not mandatory for the temporary tools here in this chapter. To run
    56     the Gawk test suite anyway, issue the following command:</para>
    57 
    58 <screen><userinput remap="test">make check</userinput></screen>
    59 
    6060    <para>Install the package:</para>
    6161
    62 <screen><userinput remap="install">make install</userinput></screen>
     62<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    6363
    6464  </sect2>
Note: See TracChangeset for help on using the changeset viewer.