Changeset e4b9338 for chapter05


Ignore:
Timestamp:
02/03/2003 11:24:24 PM (22 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, 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_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:
ef97d16
Parents:
6f531d7
Message:

fix typo's

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

Location:
chapter05
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • chapter05/bash-inst.xml

    r6f531d7 re4b9338  
    3030
    3131<itemizedlist>
    32 <listitem><para><userinput>--enable-static-link:</userinput> This option
     32<listitem><para><userinput>--enable-static-link</userinput>: This option
    3333causes the <userinput>bash</userinput> program to be statically
    3434linked.</para></listitem>
    3535
    36 <listitem><para><userinput>--prefix=$LFS/static:</userinput> This option
    37 installs all of Bash's files under the $LFS/static directory, which becomes
    38 the /static directory when chroot'ed or reboot'ed into
    39 LFS.</para></listitem>
     36<listitem><para><userinput>--prefix=$LFS/static</userinput>: This option
     37installs all of Bash's files under the
     38<filename class="directory">$LFS/static</filename> directory, which becomes
     39the <filename class="directory">/static</filename> directory when chroot'ed
     40or reboot'ed into LFS.</para></listitem>
    4041
    41 <listitem><para><userinput>--with-curses:</userinput> This option causes
    42 bash to be linked against the curses library instead of the default termcap
    43 library which is being phased out and has become obsolete. Note, on most
     42<listitem><para><userinput>--with-curses</userinput>: This option causes
     43<filename>bash</filename> to be linked against the curses library instead
     44of the default termcap library which has become obsolete. Note, on most
    4445all Linux systems, the curses library is provided by the Ncurses
    4546package (so in truth we link against the ncurses library).</para>
  • chapter05/binutils-inst.xml

    r6f531d7 re4b9338  
    2323
    2424<itemizedlist>
    25 <listitem><para><userinput>--disable-nls:</userinput> This option disables
     25<listitem><para><userinput>--disable-nls</userinput>: This option disables
    2626internationalization (also known as i18n). We don't need this for our
    2727static programs and nls often causes problems when you're linking
     
    3636
    3737<itemizedlist>
    38 <listitem><para><userinput>make LDFLAGS="-all-static":</userinput> This is
     38<listitem><para><userinput>LDFLAGS="-all-static"</userinput>: This is
    3939how we tell Binutils that all programs should be statically linked. Setting
    4040the <emphasis>LDFLAGS</emphasis> variable is the common way of specifying we
  • chapter05/bzip2-inst.xml

    r6f531d7 re4b9338  
    1414
    1515<itemizedlist>
    16 <listitem><para><userinput>CC="gcc -static -s":</userinput> The Bzip2 package
     16<listitem><para><userinput>CC="gcc -static -s"</userinput>: The Bzip2 package
    1717does not honour the <emphasis>LDFLAGS</emphasis> variable, so instead we set
    1818the <emphasis>CC</emphasis> variable which defines which compiler to use.
     
    2828
    2929<itemizedlist>
    30 <listitem><para><userinput>PREFIX=$LFS/static:</userinput> Instead of
     30<listitem><para><userinput>PREFIX=$LFS/static</userinput>: Instead of
    3131passing a <emphasis>--prefix=$LFS/static</emphasis> to a configure script,
    3232we set the <emphasis>PREFIX</emphasis> variable to accomplish the same goal
  • chapter05/diffutils-inst.xml

    r6f531d7 re4b9338  
    1212
    1313<itemizedlist>
    14 <listitem><para><userinput>LDFLAGS="-static":</userinput> This is the most
     14<listitem><para><userinput>LDFLAGS="-static"</userinput>: This is the most
    1515common way to tell a package that all programs should be statically linked.
    1616This way the <emphasis>LDFLAGS</emphasis> environment variable is set, but
     
    2121variable locally.</para></listitem>
    2222
    23 <listitem><para><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2:</userinput>
    24 The <emphasis>CPPFLAGS</emphasis> variable is a variable that's read by the
    25 cpp program (C PreProcessor). The value of this variable tells the
     23<listitem><para><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2</userinput>: The <emphasis>CPPFLAGS</emphasis> variable is a variable that's read by
     24the cpp program (C PreProcessor). The value of this variable tells the
    2625preprocessor to replace every instance of <emphasis>re_max_failures</emphasis>
    2726it finds with <emphasis>re_max_failures2</emphasis> before handing the source
  • chapter05/gcc-inst.xml

    r6f531d7 re4b9338  
    2929
    3030<itemizedlist>
    31 <listitem><para><userinput>--prefix=/static:</userinput> This is NOT a
     31<listitem><para><userinput>--prefix=/static</userinput>: This is NOT a
    3232typo. GCC hard codes some paths while compiling and so we need to pass
    3333<filename class="directory">/static</filename> as the prefix during the
    3434configure stage. We will pass the real installation prefix (<filename
    35 class="directory">$LFS/static</filename> during the installation
     35class="directory">$LFS/static</filename>) during the installation
    3636stage later on.</para></listitem>
    3737
    38 <listitem><para><userinput>--disable-shared:</userinput> This prevents the
     38<listitem><para><userinput>--disable-shared</userinput>: This prevents the
    3939build of dynamic libraries. They are useless to us at the moment. We'll
    4040create them when we reinstall GCC in chapter 6.</para></listitem>
    4141
    4242<listitem><para><userinput>--with-as=$LFS/static/bin/as and
    43 --with-ld=$LFS/static/bin/ld:</userinput> GCC can be miscompiled if your
     43--with-ld=$LFS/static/bin/ld</userinput>: GCC can be miscompiled if your
    4444host distribution's Binutils package is quite old. We need a good working
    4545static GCC until we reinstall GCC later in chapter 6. So by using
     
    5656
    5757<itemizedlist>
    58 <listitem><para><userinput>BOOT_LDFLAGS="-static":</userinput> This is
     58<listitem><para><userinput>BOOT_LDFLAGS="-static"</userinput>: This is
    5959GCC's equivalent to make LDFLAGS="-static" as we use with other packages to
    6060compile them statically.</para></listitem>
    6161
    62 <listitem><para><userinput>bootstrap:</userinput> The
     62<listitem><para><userinput>bootstrap</userinput>: The
    6363<emphasis>bootstrap</emphasis> target doesn't just compile GCC, but it
    6464compiles GCC a second time. It uses the first compiled programs to compile
    65 itself a second and third time to make sure the compiler compiled properly
     65itself a second and third time to make sure the compiler was compiled properly
    6666and can compile itself properly.</para></listitem>
    6767</itemizedlist>
     
    7474
    7575<itemizedlist>
    76 <listitem><para><userinput>install-no-fixedincludes:</userinput> This prevents
     76<listitem><para><userinput>install-no-fixedincludes</userinput>: This prevents
    7777the fixincludes script from running. Preventing this is necessary because
    7878under normal circumstances the GCC installation will run the fixincludes
     
    9696<userinput>gcc</userinput> This is to keep programs generic and usable on
    9797all kinds of Unix systems. Not everybody has GNU CC installed. Just running
    98 cc (C Compiler) leaves the user free to decide which C compiler to install.
    99 The symlink will point to the system's default compiler.</para>
     98<userinput>cc</userinput> (C Compiler) leaves the user free to decide which
     99C compiler to install. The symlink will point to the system's default
     100compiler.</para>
    100101
    101102<para><screen><userinput>ln -s gcc $LFS/static/bin/cc</userinput></screen></para>
  • chapter05/grep-inst.xml

    r6f531d7 re4b9338  
    1313
    1414<itemizedlist>
    15 <listitem><para><userinput>--disable-perl-regexp:</userinput> This
    16 configure option makes sure Grep is not linked against the PCRE library,
    17 which is often only available as a shared library in distributions. Not
    18 using this option might result in a compilation error.</para></listitem>
     15<listitem><para><userinput>--disable-perl-regexp</userinput>: This
     16configure option makes sure <filename>grep</filename> is not linked against
     17the PCRE library, which is often only available as a shared library in
     18distributions. Not using this option might result in a compilation
     19error.</para></listitem>
    1920</itemizedlist>
    2021
  • chapter05/make-inst.xml

    r6f531d7 re4b9338  
    2323privileges to complete the installation of /mnt/lfs/static/bin/make.</screen></blockquote>
    2424
    25 <para>You can safely ignore this warning. The make program doesn't actually
    26 need to be owned by group kmem and setgid for the <emphasis>-l</emphasis>
    27 option to work. (This option tells make not to start any new jobs when a
    28 certain load on the system has been reached.)</para>
     25<para>You can safely ignore this warning. The <userinput>make</userinput>
     26program doesn't actually need to be owned by group kmem and setgid for the
     27<emphasis>-l</emphasis> option to work. (This option tells
     28<userinput>make</userinput> not to start any new jobs when a certain load
     29on the system has been reached.)</para>
    2930
    3031</sect2>
  • chapter05/patch-inst.xml

    r6f531d7 re4b9338  
    1212
    1313<itemizedlist>
    14 <listitem><para><userinput>CPPFLAGS=-D_GNU_SOURCE:</userinput> This flag
     14<listitem><para><userinput>CPPFLAGS=-D_GNU_SOURCE</userinput>: This flag
    1515fixes installation problems of this package on PPC and m68k platforms (that
    1616we know of). It doesn't hurt compilation on other platforms, such as x86,
  • chapter05/setting-environment.xml

    r6f531d7 re4b9338  
    2222your LFS installation.</para>
    2323
    24 <para>The LFS variable has been explained in previous chapters. LC_ALL is
    25 a variable used for internationalization.</para>
     24<para>The LFS variable should of course be set to the mount point you
     25chose.</para>
    2626
    2727<para>The LC_ALL variable controls the localization of certain programs,
  • chapter05/shellutils-inst.xml

    r6f531d7 re4b9338  
    3030
    3131<para>You can safely ignore that warning. You need to be logged in as root
    32 in order to install su the way Sh-utils wants to install it, which is being
    33 suid root. Because we don't need su during Chapter 6, and su will be properly
    34 installed when we re-install Sh-utils in Chapter 6.</para>
     32in order to install <filename>su</filename> the way Sh-utils wants to install
     33it, which is suid root. Because we don't need <filename>su</filename> during
     34Chapter 6, and <filename>su</filename> will be properly installed when we
     35re-install Sh-utils in Chapter 6.</para>
    3536
    3637</sect2>
  • chapter05/utillinux-inst.xml

    r6f531d7 re4b9338  
    1212<para><screen><userinput>make -C lib</userinput></screen></para>
    1313
    14 <para>We only need the <emphasis>mount</emphasis> and
    15 <emphasis>umount</emphasis> programs at the moment, so we won't be
     14<para>We only need the <filename>mount</filename> and
     15<filename>umount</filename> programs at the moment, so we won't be
    1616compiling the entire package. Compile these two programs by issuing
    1717the following command:</para>
Note: See TracChangeset for help on using the changeset viewer.