Changeset 2c094d6 for chapter05


Ignore:
Timestamp:
09/28/2002 09:08:29 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, 12.2, 12.2-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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
4d46e012
Parents:
f5cc1c17
Message:

Applied Bill Maltby's grammar patch. Changed $LFS to LFS where appropriate. Internal XML cleanup: removed double spacing where appropriate.

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

Location:
chapter05
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter05/binutils-inst.xml

    rf5cc1c17 r2c094d6  
    44<para>This package is known to behave badly when you have changed its default
    55optimization flags (including the -march and -mcpu options). Binutils is
    6 best left alone.  Therefore, if you have defined any environment variables
     6best left alone. Therefore, if you have defined any environment variables
    77that override default optimizations, such as CFLAGS and CXXFLAGS, we
    8 recommend unsetting or modifying them when building binutils.  You have been
     8recommend unsetting or modifying them when building binutils. You have been
    99warned.</para>
    1010
  • chapter05/gcc-exp.xml

    rf5cc1c17 r2c094d6  
    77<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/>.</para>
    88
    9 <para><userinput>--prefix=/static:</userinput> This is NOT a typo.  GCC hard
     9<para><userinput>--prefix=/static:</userinput> This is NOT a typo. GCC hard
    1010codes some paths while compiling and so we need to pass /static as the
    11 prefix during ./configure.  We pass the real install prefix during the
     11prefix during ./configure. We pass the real install prefix during the
    1212make install command later.</para>
    1313
  • chapter05/gcc-inst.xml

    rf5cc1c17 r2c094d6  
    88<para>This package is known to behave badly when you have changed its
    99default optimization flags (including the -march and -mcpu options). GCC is
    10 best left alone.  Therefore, if you have defined any environment variables
     10best left alone. Therefore, if you have defined any environment variables
    1111that override default optimizations, such as CFLAGS and CXXFLAGS, we
    12 recommend unsetting or modifying them when building GCC.  You have
     12recommend unsetting or modifying them when building GCC. You have
    1313been warned.</para>
    1414
  • chapter05/patch-exp.xml

    rf5cc1c17 r2c094d6  
    44<para><userinput>CPPFLAGS=-D_GNU_SOURCE: </userinput>
    55This flag fixes installation problems of this package on PPC and m68k
    6 platforms (that we know of).  It doesn't hurt compilation on other
     6platforms (that we know of). It doesn't hurt compilation on other
    77platforms, such as x86, so we do it by default.</para>
    88
  • chapter05/whystatic.xml

    rf5cc1c17 r2c094d6  
    3030that we only need one copy of the library. If <filename>ls</filename> and
    3131<filename>rm</filename> both use the same library, then we don't need two
    32 copies of the library, as they can both get the code from the same file. 
     32copies of the library, as they can both get the code from the same file.
    3333Even when in memory, the two programs share the same code, rather than loading
    3434duplicates into memory. So not only are we saving hard disk space, but also
     
    3636
    3737<para>If dynamic linking saves so much room, then why are we making everything
    38 statically linked?  Well, that's because when you chroot into your brand new
     38statically linked? Well, that's because when you chroot into your brand new
    3939(but very incomplete) LFS environment, these dynamic libraries won't be
    4040available because they are somewhere else in your old directory tree
     
    5353
    5454<para>And there you have it, that's why you need to use those weird
    55 <userinput>-static</userinput> flags.  If you try building everything
     55<userinput>-static</userinput> flags. If you try building everything
    5656without them, you'll see very quickly what
    5757happens when you chroot into your newly crippled LFS system.</para>
Note: See TracChangeset for help on using the changeset viewer.