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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.