Changeset 415157ef


Ignore:
Timestamp:
07/29/2002 07:09:14 PM (22 years ago)
Author:
Timothy Bauscher <timothy@…>
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, 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:
ad58f79
Parents:
9be68e9
Message:

Updated the changelog.

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r9be68e9 r415157ef  
    1414<listitem><para>bison-1.35</para></listitem>
    1515<listitem><para>diffutils-2.8.1</para></listitem>
    16 <listitem><para>file-3.38</para></listitem>
     16<listitem><para>file-3.39</para></listitem>
    1717<listitem><para>gawk-3.1.1</para></listitem>
    1818<listitem><para>gcc-3.1</para></listitem>
     
    2424<listitem><para>psmisc-21</para></listitem>
    2525<listitem><para>texinfo-4.2</para></listitem>
    26 <listitem><para>util-linux-2.11r</para></listitem>
     26<listitem><para>util-linux-2.11t</para></listitem>
    2727</itemizedlist>
    2828</para></listitem>
     
    4646</itemizedlist>
    4747</para></listitem>
     48
     49<listitem><para>July 29th, 2002 [timothy]: Removed Reiserfsprogs.
     50Updated to util-linux-2.11t and file-3.39. Chapter 04 &amp; 05 - Creating a
     51new partition, Introduction, Why static: grammatic changes. Diffutils,
     52Fileutils, Grep, Texinfo: set LDFLAGS=-static before configure instead
     53of as an argument to make. GCC: appended HAVE_GAS_HIDDEN to auto-host.h.
     54Chapter 06 - Glibc: added --disable-profile flag. Chapter 08 - Linux:
     55added information about modules and kernel documentaiton. Chapter 09 -
     56Rebooting the system: added a command to remove the static
     57directory.</para></listitem>
    4858
    4959<listitem><para>July 8th, 2002 [timothy]: Chapter 09 - Rebooting the
  • chapter05/whystatic.xml

    r9be68e9 r415157ef  
    2020library attached to the program. Just imagine if you had a simple command
    2121like ls with an extra 2.5 MB attached to it! Instead of making the library
    22 an actual part of the program, or statically linked, the library is stored as a
    23 separate file, which is loaded only when the program needs it. This is what
    24 we call dynamically linked, as the library is loaded and unloaded dynamically,
    25 as the program needs it.</para>
     22an actual part of the program, or statically linked, the library is stored
     23as a separate file, which is loaded only when the program needs it. This
     24is what we call dynamically linked, as the library is loaded and unloaded
     25dynamically, as the program needs it.</para>
    2626
    27 <para>So now we have a 1 KB file and a 2.5 MB file, but we still haven't saved any
    28 space (except maybe RAM until the library is needed). The
    29 <emphasis>real</emphasis> advantage of
    30 dynamically linked libraries is that we only need one copy of the library.
    31 If <filename>ls</filename> and <filename>rm</filename> both use the same
    32 library, then we don't need two copies of the
    33 library, as they can both get the code from the same file. 
     27<para>So now we have a 1 KB file and a 2.5 MB file, but we still haven't
     28saved any space (except maybe RAM until the library is needed). The
     29<emphasis>real</emphasis> advantage of dynamically linked libraries is
     30that we only need one copy of the library. If <filename>ls</filename> and
     31<filename>rm</filename> both use the same library, then we don't need two
     32copies of the library, as they can both get the code from the same file. 
    3433Even when in memory, the two programs share the same code, rather than loading
    3534duplicates into memory. So not only are we saving hard disk space, but also
     
    4342from within your LFS root (<filename>$LFS</filename>).</para>
    4443
    45 <para>So in order for your new programs to run inside the chroot environment you
    46 need to make sure that the libraries are statically linked when you build
     44<para>So in order for your new programs to run inside the chroot environment
     45you need to make sure that the libraries are statically linked when you build
    4746them, hence the <userinput>--enable-static-link</userinput>,
    4847<userinput>--disable-shared</userinput>, and
     
    5857happens when you chroot into your newly crippled LFS system.</para>
    5958
    60 <para>If you want to know more about Dynamically Linked Libraries, consult a
    61 book or website on programming, especially a Linux-related site.</para>
     59<para>If you want to know more about Dynamically Linked Libraries, consult
     60a book or website on programming, especially a Linux-related site.</para>
    6261
    6362</sect1>
Note: See TracChangeset for help on using the changeset viewer.