Changeset ab6f1859 for chapter05


Ignore:
Timestamp:
08/11/2003 10:49:50 PM (21 years ago)
Author:
Alex Gronenwoud <alex@…>
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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, 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:
6e3b255
Parents:
775a268
Message:

small things around coreutils and bugs #518 and #520

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2668 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter05
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • chapter05/binutils-pass2-inst.xml

    r775a268 rab6f1859  
    22
    33<sect2>
    4 <title>Installation of Binutils</title>
     4<title>Re-installation of Binutils</title>
    55
    66<para>First create a separate build directory again:</para>
     
    1414&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --with-lib-path=/stage1/lib</userinput></screen></para>
    1515
     16<para>Before starting to build Binutils, remember to unset any environment
     17variables that override the default optimization flags.</para>
     18
    1619<para>Compile the package:</para>
    1720
    1821<para><screen><userinput>make </userinput></screen></para>
    1922
    20 <para>Test the package (nothing should fail here):</para>
     23<para>Test the results (nothing should fail here):</para>
    2124
    2225<para><screen><userinput>make check</userinput></screen></para>
  • chapter05/binutils-pass2.xml

    r775a268 rab6f1859  
    66Estimated required disk space:  &binutils-pass1-compsize-stage1;</screen>
    77
    8 &aa-binutils-shortdesc;
    9 &aa-binutils-dep;
    108&c5-binutils-pass2-inst;
    119
  • chapter05/bzip2-inst.xml

    r775a268 rab6f1859  
    44<title>Installation of Bzip2</title>
    55
    6 <para>Since the Bzip2 package has no configure script we can't prepare it
    7 for compilation. Instead we just run the <userinput>make</userinput>
    8 program and start compiling, with a few variables changed to suit our
    9 environment:</para>
     6<para>The Bzip2 package doesn't contain a <userinput>configure</userinput>
     7script. Compile and install it with a straightforward:</para>
    108
    11 <para><screen><userinput>make
    12 make PREFIX=/stage1 install</userinput></screen></para>
     9<para><screen><userinput>make PREFIX=/stage1 install</userinput></screen></para>
    1310
    1411</sect2>
  • chapter05/coreutils-inst.xml

    r775a268 rab6f1859  
    44<title>Installation of Coreutils</title>
    55
    6 <para><screen><userinput>./configure --prefix=/stage1
    7 make
    8 make RUN_EXPENSIVE_TESTS=yes check
    9 make install</userinput></screen></para>
     6<para>Prepare Coreutils to be compiled:</para>
     7
     8<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
     9
     10<para>Compile the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>Test the results thoroughly:</para>
     15
     16<para><screen><userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput></screen></para>
     17
     18<para>And install the package:</para>
     19
     20<para><screen><userinput>make install</userinput></screen></para>
    1021
    1122
  • chapter05/coreutils.xml

    r775a268 rab6f1859  
    33<?dbhtml filename="coreutils.html" dir="chapter05"?>
    44
     5<screen>Estimated build time:           &coreutils-time;
     6Estimated required disk space:  &coreutils-compsize;</screen>
     7
     8&aa-coreutils-shortdesc;
     9&aa-coreutils-dep;
    510&c5-coreutils-inst;
    611
  • chapter05/diffutils-inst.xml

    r775a268 rab6f1859  
    66<para>Prepare Diffutils to be compiled:</para>
    77
    8 <para><screen><userinput>./configure --prefix=/stage1
    9 make
    10 make install</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
     9
     10<para>Compile the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>And install it:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
    1117
    1218</sect2>
  • chapter05/expect-inst.xml

    r775a268 rab6f1859  
    2424problem here either.</para>
    2525
    26 <para>You can now remove the build directories of both Tcl and Expect.</para>
     26<para>You can now remove the source directories of both Tcl and Expect.</para>
    2727
    2828</sect2>
  • chapter05/findutils-inst.xml

    r775a268 rab6f1859  
    66<para>Prepare Findutils to be compiled:</para>
    77
    8 <para><screen><userinput>./configure --prefix=/stage1
    9 make
    10 make check
    11 make install</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
     9
     10<para>Compile the package:</para>
     11
     12<para><screen><userinput>make </userinput></screen></para>
     13
     14<para>Test the results:</para>
     15
     16<para><screen><userinput>make check</userinput></screen></para>
     17
     18<para>And install the package:</para>
     19
     20<para><screen><userinput>make install</userinput></screen></para>
    1221
    1322</sect2>
  • chapter05/gawk-inst.xml

    r775a268 rab6f1859  
    88<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
    99
    10 <para>Continue with compiling the package:</para>
     10<para>Compile the package:</para>
    1111
    1212<para><screen><userinput>make</userinput></screen></para>
    1313
    14 <para>And finish off installing the package:</para>
     14<para>And install it:</para>
    1515
    1616<para><screen><userinput>make install</userinput></screen></para>
  • chapter05/gcc-pass1-inst.xml

    r775a268 rab6f1859  
    44<title>Installation of GCC</title>
    55
    6 <para>We won't be needing a C++ compiler until the next chapter. So, only
    7 the gcc-core tarball needs to be unpacked at this time.</para>
     6<para>Unpack only the GCC-core tarball, as we won't be needing a C++ compiler
     7for the moment.</para>
    88
    99<para>This package is known to behave badly when you have changed its
     
    4343having <filename>libgcc_eh.a</filename> available ensures that the configure
    4444script for Glibc (the next package we compile) produces the proper results.
    45 Please note that the <userinput>gcc</userinput> binaries will still be linked
     45Note that the <userinput>gcc</userinput> binaries will still be linked
    4646statically, as this is controlled by the <userinput>-static</userinput>
    4747value of BOOT_LDFLAGS further on.</para></listitem>
    4848
    49 <listitem><para><userinput>--enable-languages=c</userinput>: This will build
    50 only the C compiler from the GCC package. We won't be needing anything else
    51 during this chapter.</para></listitem>
     49<listitem><para><userinput>--enable-languages=c</userinput>: This option
     50ensures that only the C compiler is built. The option is only needed when you
     51have downloaded and unpacked the full GCC tarball.</para></listitem>
    5252</itemizedlist>
    5353
  • chapter05/gcc-pass2-inst.xml

    r775a268 rab6f1859  
    22
    33<sect2>
    4 <title>Installation of GCC</title>
     4<title>Re-installation of GCC</title>
     5
     6<para>Unpack all three GCC tarballs in one and the same working directory.
     7They will all unfold into a single <filename>gcc-&gcc-version;/</filename>
     8subdir.</para>
    59
    610<para>First correct two problems and make an essential adjustment:</para>
     
    2226cd ../gcc-build</userinput></screen></para>
    2327
     28<para>Before starting to build GCC, remember to unset any environment
     29variables that override the default optimization flags.</para>
     30
    2431<para>Now prepare GCC to be compiled:</para>
    2532
     
    3744same sources.</para>
    3845
    39 <para>Test the package:</para>
     46<para>Test the results:</para>
    4047
    4148<para><screen><userinput>make -k check</userinput></screen></para>
  • chapter05/gcc-pass2.xml

    r775a268 rab6f1859  
    66Estimated required disk space:  &gcc-compsize-pass1-stage1;</screen>
    77
    8 &aa-gcc-shortdesc;
    9 &aa-gcc-dep;
    108&c5-gcc-pass2-inst;
    119
  • chapter05/gzip-inst.xml

    r775a268 rab6f1859  
    44<title>Installation of Gzip</title>
    55
    6 <para><screen><userinput>./configure --prefix=/stage1
    7 make
    8 make install</userinput></screen></para>
     6<para>Prepare Gzip to be compiled:</para>
     7
     8<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
     9
     10<para>Compile the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>And install it:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
    917
    1018</sect2>
  • chapter05/lockingglibc.xml

    r775a268 rab6f1859  
    1717against the libraries in <filename>/stage1/lib</filename>.</para>
    1818
    19 <para>You can now remove the binutils-* directories.</para>
     19<para>You can now remove Binutils' build and source directories.</para>
    2020
    2121</sect2>
  • chapter05/tcl-inst.xml

    r775a268 rab6f1859  
    2727<para><screen><userinput>ln -s tclsh8.4 /stage1/bin/tclsh</userinput></screen></para>
    2828
    29 <para>Do <emphasis>not remove</emphasis> the
    30 <filename>tcl&tcl-version;</filename> directory yet, as the next package will
    31 need its internal headers.</para>
     29<para><emphasis>Do not remove</emphasis> the
     30<filename>tcl&tcl-version;</filename> source directory yet, as the next package
     31will need its internal headers.</para>
    3232
    3333</sect2>
Note: See TracChangeset for help on using the changeset viewer.