Changeset 2b1174be


Ignore:
Timestamp:
08/29/2001 07:29:31 PM (23 years ago)
Author:
Gerard Beekmans <gerard@…>
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, v3_0, v3_1, v3_2, v3_3, v4_0, v4_1, 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:
fa914e5
Parents:
884d51d
Message:

text updates

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

Location:
chapter06
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • chapter06/aboutdebug.xml

    r884d51d r2b1174be  
    33
    44<para>Most programs and libraries by default are compiled with debugging
    5 symbols (gcc option -g) Let me explain what these debugging symbols
    6 are and why you may not want them.</para>
     5symbols (gcc option -g).</para>
    76
    87<para>A program compiled with debugging symbols means a user can run a program
     
    3332<para>Sizes vary depending on which compiler was used and which C library
    3433version was used to link dynamic programs against, but results will be
    35 similar if you compare programs with and without debugging symbols. After
    36 I was done with this chapter and stripped all debugging symbols from all LFS
    37 binaries I regained a little over 102 MB of disk space. Quite the
    38 difference.</para>
     34similar if you compare programs with and without debugging symbols.</para>
    3935
    4036<para>To remove debugging symbols from a binary (must be an a.out or ELF
     
    4541removing those symbols a lot of disk space can be regained.</para>
    4642
     43<para>For your convenience, chapter 9 includes one simple command to strip
     44all debugging symbols from all programs and libraries on your
     45system.</para>
     46
    4747<para>You might find additional information in the optimization hint which can
    4848be found at <ulink
  • chapter06/bzip2-inst.xml

    r884d51d r2b1174be  
    2626mentioning that a patch for Tar can be downloaded which enables the tar
    2727program to compress and uncompress using bzip2/bunzip2 easily. With a
    28 plain tar a user has to use constructions like bzcat file.tar.bz|tar
     28plain tar, you have to use constructions like bzcat file.tar.bz|tar
    2929xv or tar --use-compress-prog=bunzip2 -xvf file.tar.bz2 to use bzip2 and
    30 bunzip2 with tar. This patch gives the -j option so a user can unpack a
     30bunzip2 with tar. This patch provides the -j option so you can unpack a
    3131Bzip2 archive with tar xvfj file.tar.bz2. Applying this patch will be
    3232mentioned later on when the Tar package is re-installed.</para>
  • chapter06/config-ldso.xml

    r884d51d r2b1174be  
    55libraries, so there normally isn't a need for the
    66<filename>/etc/ld.so.conf</filename> file unless the system has extra
    7 directories in which a user wants the system to search for paths. The
     7directories in which you want the system to search for libraries. The
    88<filename class="directory">/usr/local/lib</filename> directory isn't
    99searched through for dynamic libraries by default, so we want to add
  • chapter06/file-inst.xml

    r884d51d r2b1174be  
    33
    44<para>Note that the sed used in this installation only works if the line
    5 break is placed exactly where it is in the book.  Don't try and put it
    6 all on one line otherwise it won't work.  Install File by running the
    7 following commands:</para>
     5break is placed exactly where it below. Don't try and put it
     6all on one line otherwise it won't work.</para>
     7
     8<para>Install File by running the following commands:</para>
    89
    910<para><screen><userinput>cp readelf.h readelf.h.backup &amp;&amp;</userinput>
  • chapter06/glibc-exp.xml

    r884d51d r2b1174be  
    1010cache.  If this file doesn't exist, the installation will abort with an error
    1111that it can't read the file, so we simply create an empty file (the empty file
    12 will have Glibc default to using /lib and /usr/lib which is fine
    13 right now).</para>
     12will have Glibc default to using /lib and /usr/lib which is fine).</para>
    1413
    1514<para><userinput>sed 's%\$(PERL)%/usr/bin/perl%'
     
    3635root with the id 0. </para>
    3736
    38 <para><userinput>mv tmp~ login/Makefile:</userinput> Asabove, we are using a temporary file (<filename>tmp~</filename>) to store the
     37<para><userinput>mv tmp~ login/Makefile:</userinput> As above, we are using
     38a temporary file (<filename>tmp~</filename>) to store the
    3939edited Makefile and then copying it back over the original.</para>
    4040
  • chapter06/glibc-inst.xml

    r884d51d r2b1174be  
    3939
    4040<blockquote><screen>configure: warning:
    41 *** An auxiliary program is missing or too old;
     41*** These auxiliary programs are missing or too old: msgfmt
    4242*** some features will be disabled.
    4343*** Check the INSTALL file for required versions.</screen></blockquote>
    4444
    45 <para> This warning refers to the missing msgfmt program from the
    46 gettext package, but it can safely be ignored in our case.  The glibc
    47 installation will not be affected.</para>
     45<para>The missing msgfmt (from the gettext package which we will install
     46later in this chapter) is not fatal. The files msgfmt would create are
     47already pre-built, so you won't be missing out on anything. You would
     48only need it if you make changes to the Glibc manual files. Since we
     49don't do this by default, we can safely ignore it.</para>
    4850
    4951</sect2>
  • chapter06/ncurses-exp.xml

    r884d51d r2b1174be  
    1919<para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
    2020programs try to link using -lcurses instead of -lncurses.  This symlink
    21 ensures that they will install correctly.</para>
     21ensures that such programs will link without errors.</para>
    2222
    2323<para><userinput>ln -sf ../../lib/libncurses.so etc:</userinput> These
  • chapter06/netkitbase-inst.xml

    r884d51d r2b1174be  
    1212<para>There are other files in the <filename
    1313class="directory">etc.sample</filename> directory which might be of
    14 interest to the user.</para>
     14interest to you.</para>
    1515
    1616</sect2>
  • chapter06/nettools-inst.xml

    r884d51d r2b1174be  
    77<userinput>make install</userinput></screen></para>
    88
    9 <para>Net-tools <userinput>hostname</userinput> replaces that which was
    10 originally installed by sh-utils.  Sometimes the sh-utils version gets
    11 left behind as /bin/hostname.old so you may wish to remove it by running
     9<para>The <userinput>hostname</userinput> from this package replaces the
     10version that was originally installed by the sh-utils package. Sometimes
     11the sh-utils version gets left behind as /bin/hostname.old so you may
     12wish to remove it by running
    1213<userinput>rm /bin/hostname.old</userinput></para>
    1314
  • chapter06/procps-exp.xml

    r884d51d r2b1174be  
    66the XConsole installation is disabled. Otherwise "Make install" tries to
    77copy the file XConsole to /usr/X11R6/lib/app-defaults. And that directory
    8 does not exist, because X is not installed yet.</para>
     8does not exist, because X is not installed.</para>
    99
    1010</sect2>
  • chapter06/removeoldnss.xml

    r884d51d r2b1174be  
    33
    44<para>If you have copied the NSS Library files from the normal Linux system
    5 to the LFS system (because the normal system runs glibc-2.0) it's time to remove
     5to the LFS system (because the normal system runs Glibc-2.0) it's time to remove
    66them now by running:</para>
    77
  • chapter06/shadowpwd-exp.xml

    r884d51d r2b1174be  
    44<para><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' src/useradd.c
    55&gt; useradd.c.temp &amp;&amp;</userinput>: This sed is used to fix a
    6 compilation bug which occurs due to a variable (nflg), being used but not
     6compilation bug which occurs due to a variable (nflg) being used but not
    77defined.</para>
    88
Note: See TracChangeset for help on using the changeset viewer.