Changeset 26e62aa


Ignore:
Timestamp:
09/20/2002 09:11:28 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:
88abb11
Parents:
eb7df24
Message:

Removed --enable-threads=posix from static gcc compilation. Fixed changelog and a number of typos.

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

Files:
32 edited

Legend:

Unmodified
Added
Removed
  • chapter01/acknowledgements.xml

    reb7df24 r26e62aa  
    33<?dbhtml filename="acknowledgements.html" dir="chapter01"?>
    44
    5 <para>We would like to thank the following people and organizations for their
     5<para>We thank the following people and organizations for their
    66contributions toward the Linux From Scratch project:</para>
    77
  • chapter01/changelog.xml

    reb7df24 r26e62aa  
    1919<listitem><para>gettext-0.11.5</para></listitem>
    2020<listitem><para>groff-1.18</para></listitem>
     21<listitem><para>gzip-1.2.4b.patch</para></listitem>
    2122<listitem><para>lfs-bootscripts-1.10</para></listitem>
    2223<listitem><para>linux-2.4.19</para></listitem>
     
    4243<listitem><para>glibc-2.2.5-2.patch</para></listitem>
    4344<listitem><para>gzip-1.2.4b.patch</para></listitem>
     45<listitem><para>kbd-1.06-3.patch</para></listitem>
    4446<listitem><para>ncurses-5.2.patch</para></listitem>
    4547<listitem><para>procps-2.0.7.patch</para></listitem>
     
    5355<itemizedlist>
    5456<listitem><para>gzip-1.2.4a.patch</para></listitem>
     57<listitem><para>kbd-1.06-2.patch</para></listitem>
    5558<listitem><para>reiserfsprogs-3.x.1b</para></listitem>
    5659</itemizedlist>
    5760</para></listitem>
     61
     62<listitem><para>September 20th, 2002 [timothy]: Chapter 05 - GCC:
     63Removed the <userinput>--enable-threads=posix</userinput> flag since we
     64don't build a C++ compiler in this chapter.</para></listitem>
    5865
    5966<listitem><para>September 18th, 2002 [timothy]: Chapter 05 - Introduction:
  • chapter01/conventions.xml

    reb7df24 r26e62aa  
    1111as seen unless otherwise noted in the surrounding text.  It is also used
    1212in the explanation sections to identify which of the commands is being
    13 referred to.</para></blockquote>
     13referenced.</para></blockquote>
    1414
    1515<para><filename>install-info: unknown option
     
    1717
    1818<blockquote><para>This form of text (fixed width text) is showing screen
    19 output, probably as the result of commands issued and is also used to
    20 show filenames such as <filename>/etc/lilo.conf</filename>.</para></blockquote>
     19output, probably as the result of commands issued, and is also used to
     20show filenames, such as <filename>/etc/lilo.conf</filename>.</para></blockquote>
    2121
    2222<para><emphasis>Emphasis</emphasis></para>
  • chapter01/how.xml

    reb7df24 r26e62aa  
    66Linux distribution such as Debian, SuSE, Slackware, Mandrake, RedHat, etc.
    77We will use the existing Linux system as the development platform, because
    8 we need tools like a compiler, linker, text editor, and other necessary
    9 development tools to build our system. Ordinarily, the required tools are
    10 available by default if we selected "development" as one of our installation
    11 options when we installed the distributed Linux.</para>
     8we need tools like a compiler, linker, text editor, and other development
     9tools to build our system. Ordinarily, the required tools are available by
     10default if we selected "development" as one of our installation options
     11when we installed a Linux distribution.</para>
    1212
    13 <para>After you have downloaded the necessary packages that make up an LFS
    14 system we will create a new Linux native partition and filesystem. Here
    15 is where the LFS system will be compiled and installed.</para>
     13<para>After you have downloaded the packages that make up an LFS system,
     14we will create a new Linux native partition and filesystem. Here is where
     15the LFS system will be compiled and installed.</para>
    1616
    17 <para>The next step, chapter 5, will discuss the installation of a number of
     17<para>The next step, Chapter 5, will discuss the installation of a number of
    1818packages that will form the basic development suite which is used to
    1919build the actual system, or needed to resolve circular dependencies. For
     
    2929Ordinarily, software is built with dynamic linking. This conserves storage
    3030space and increases the efficiency of many programs. We statically link
    31 our software in chapter 5 because we will in theory be moving our
     31our software in Chapter 5 because we will, in theory, be moving our
    3232development system to a virtual environment where the already mentioned
    3333libraries will be absent. If the software is built dynamically, our
    3434development suite will not function. Since the libraries we are talking
    35 about are provided by our distribution Linux, the goal of chapter 5 is to
     35about are provided by our distribution Linux, the goal of Chapter 5 is to
    3636build a development environment where those libraries are not required
    3737and is therefore independent of the distribution.</para>
    3838
    39 <para>In chapter 6 we will build and install our final system. We will use
     39<para>In Chapter 6 we will build and install our final system. We will use
    4040the chroot program to enter a virtual environment and start a new shell
    4141whose root directory will be set to the partition where we built all the
    42 chapter 5 software. This is very similar to rebooting and instructing the
     42Chapter 5 software. This is very similar to rebooting and instructing the
    4343kernel to mount our LFS partition as the root partition. The reason that
    44 we don't actually reboot, but instead chroot, is that creating a static
    45 system that we can boot into requires more work that simply isn't necessary.
    46 As well, we can continue to use our platform system while we are building
    47 LFS. While software is being compiled and installed you can simply switch
    48 to a different VC (Virtual Console) or X desktop and continue using your
     44we don't actually reboot, but instead chroot, is that creating a bootable
     45static system requires additional work which simply isn't necessary. As
     46well, we can continue to use our platform system while we are building LFS.
     47While software is being compiled and installed you can simply switch to a
     48different VC (Virtual Console) or X desktop and continue using your
    4949computer normally.</para>
    5050
    51 <para>When all the software from chapter 6 is installed, chapters 7, 8 and 9
     51<para>When all the software from Chapter 6 is installed, Chapters 7, 8 and 9
    5252will help us finalize our installation. We will set up our boot
    53 scripts in chapter 7. In chapter 8 we will build our final linux kernel and
     53scripts in Chapter 7. In Chapter 8 we will build our final linux kernel and
    5454set up the Linux boot loader. Chapter 9 has some pointers to help you after
    5555you finish the book. Then finally, you reboot your system and boot into your
     
    6161It should become very clear shortly.</para>
    6262
    63 <para>Please read chapter 2 carefully as it explains a few important things
    64 you should be aware of before you begin to work through chapters 5 and
     63<para>Please read Chapter 2 carefully as it explains a few important things
     64you should be aware of before you begin to work through Chapters 5 and
    6565later.</para>
    6666
  • chapter02/aboutlfs.xml

    reb7df24 r26e62aa  
    77replaced with the directory where the partition that contains the LFS system
    88is mounted. How to create and where to mount the partition will be
    9 explained in full detail in chapter 4. For example, let's assume that
     9explained in full detail in Chapter 4. For example, let's assume that
    1010the LFS partition is mounted on /mnt/lfs.</para>
    1111
  • chapter02/aboutsbus.xml

    reb7df24 r26e62aa  
    1515
    1616<para>It works like this: the very first package you compile in this book
    17 is Bash in chapter 5 and it'll be statically linked. The time it takes to
     17is Bash in Chapter 5 and it'll be statically linked. The time it takes to
    1818compile this package will be the basis and called the SBU. All other
    1919compile times are relative to the time it takes to install Bash. For
  • chapter02/install.xml

    reb7df24 r26e62aa  
    6464can be kept. We highly recommend deleting it. If you don't do this and
    6565try to re-use the same source later on in the book (for example re-using
    66 the source trees from chapter 5 for use in chapter 6), it may not work
    67 as you expect it to. Source trees from chapter 5 will have your host
     66the source trees from Chapter 5 for use in Chapter 6), it may not work
     67as you expect it to. Source trees from Chapter 5 will have your host
    6868distribution's settings, which don't always apply to the LFS system
    6969after you enter the chroot'ed environment. Even running something like
  • chapter03/mounting.xml

    reb7df24 r26e62aa  
    2121
    2222<para>This directory (/mnt/lfs) is the $LFS variable you have read about
    23 back in chapter 2. If you were planning to make use of the $LFS environment
     23back in Chapter 2. If you were planning to make use of the $LFS environment
    2424variable, <userinput>export LFS=/mnt/lfs</userinput> has to be executed
    2525now.</para>
  • chapter05/bash-exp.xml

    reb7df24 r26e62aa  
    1515<para>It is not strictly necessary for the static bash to be linked
    1616against libncurses (it can link against a static termcap for the time
    17 being just fine because we will reinstall Bash in chapter 6 anyways,
     17being just fine because we will reinstall Bash in Chapter 6 anyways,
    1818where we will use libncurses), but it's a good test to make sure that
    1919the Ncurses package has been installed properly. If not, you will get in
  • chapter05/bash-inst.xml

    reb7df24 r26e62aa  
    4343old version of the texinfo package. This error is not severe by any means: the
    4444info pages will be installed when we recompile bash dynamically in
    45 chapter 6, so you can ignore it.</para>
     45Chapter 6, so you can ignore it.</para>
    4646
    4747</sect2>
  • chapter05/creatingstaticdir.xml

    reb7df24 r26e62aa  
    1212<para><screen><userinput>mkdir $LFS/static</userinput></screen></para>
    1313
    14 <para>You may want to move the packages you downloaded in chapter 3 to this
     14<para>You may want to move the packages you downloaded in Chapter 3 to this
    1515<filename class="directory">$LFS/static</filename> directory, perhaps
    1616create a subdirectory <filename
  • chapter05/fileutils-exp.xml

    reb7df24 r26e62aa  
    55glibc 2.2.3 systems. If this isn't done, then there is the possibility of
    66all of the fileutils programs causing segmentation faults once chroot is
    7 entered in chapter 6.</para>
     7entered in Chapter 6.</para>
    88
    99</sect2>
  • chapter05/gcc-exp.xml

    reb7df24 r26e62aa  
    1313
    1414<para><userinput>--enable-languages=c:</userinput> This builds the C
    15 compiler. The C++ compiler will be built in chapter 6, when we rebuild
     15compiler. The C++ compiler will be built in Chapter 6, when we rebuild
    1616GCC. Other compilers are available as well. If they are needed,
    1717the --enable-languages parameter may be omitted.</para>
    18 
    19 <para><userinput>--enable-threads=posix:</userinput> This enables C++
    20 exception handling for multithreaded code.</para>
    2118
    2219<para><userinput>echo "#define HAVE_GAS_HIDDEN 1":</userinput>
  • chapter05/gcc-inst.xml

    reb7df24 r26e62aa  
    1919cd ../gcc-build &amp;&amp;
    2020../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \
    21 &nbsp;&nbsp;&nbsp;--disable-nls --disable-shared --enable-threads=posix &amp;&amp;
     21&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared &amp;&amp;
    2222echo "#define HAVE_GAS_HIDDEN 1" &gt;&gt; gcc/auto-host.h &amp;&amp;
    2323make BOOT_LDFLAGS=-static bootstrap &amp;&amp;
  • chapter05/installasuser.xml

    reb7df24 r26e62aa  
    33<?dbhtml filename="installasuser.html" dir="chapter05"?>
    44
    5 <para>When you are logged in as root during chapter 5, it is possible
     5<para>When you are logged in as root during Chapter 5, it is possible
    66that some files of your host system will be overwritten by the ones
    7 you'll build in chapter 5. There can be all kinds of reasons for this
     7you'll build in Chapter 5. There can be all kinds of reasons for this
    88to happen, for example because the $LFS environment variable is not
    99set. Overwriting some files from your host system will most likely
    1010cause all kinds of problems, so it's a good idea to be logged in as
    11 an unprivileged user during chapter 5. To make sure the environment
     11an unprivileged user during Chapter 5. To make sure the environment
    1212is as clean as possible, we'll create a new user "lfs" that can be
    1313used while building the static installation. Issuing the following
     
    4747<para>When your host distribution uses a glibc version older than 2.2.4,
    4848having $LC_ALL set to something else than "C" or "POSIX" while working
    49 through chapter 5 may cause trouble when you exit the chroot environment
    50 of chapter 6 and try to return to it. By setting this to "POSIX" ("C"
     49through Chapter 5 may cause trouble when you exit the chroot environment
     50of Chapter 6 and try to return to it. By setting this to "POSIX" ("C"
    5151is an alias for "POSIX") we ensure that everything will work as expected
    5252in the chroot environment.</para>
  • chapter05/shellutils-inst.xml

    reb7df24 r26e62aa  
    2525<para>You can safely ignore that warning. You need to be logged in as root
    2626in order to install su the way Sh-utils wants to install it, which is being
    27 suid root. Because we don't need su during chapter 6, and su will be properly
    28 installed when we re-install Sh-utils in chapter 6, you can just
     27suid root. Because we don't need su during Chapter 6, and su will be properly
     28installed when we re-install Sh-utils in Chapter 6, you can just
    2929pretend you didn't see it.</para>
    3030
  • chapter05/whystatic.xml

    reb7df24 r26e62aa  
    4747<userinput>--disable-shared</userinput>, and
    4848<userinput>-static</userinput> flags used
    49 through chapter 5. Once in chapter 6, the first thing we do is build the
     49through Chapter 5. Once in Chapter 6, the first thing we do is build the
    5050main set of system libraries, glibc. Once this is made we start rebuilding
    51 all the programs we just did in chapter 5, but this time dynamically linked,
     51all the programs we just did in Chapter 5, but this time dynamically linked,
    5252so that we can take advantage of the space saving opportunities.</para>
    5353
  • chapter06/aboutdebug.xml

    reb7df24 r26e62aa  
    4242<userinput>strip --strip-debug $LFS/static/bin/*</userinput>).</para>
    4343
    44 <para>For your convenience, chapter 9 includes one simple command to strip
     44<para>For your convenience, Chapter 9 includes one simple command to strip
    4545all debugging symbols from all programs and libraries on your system.
    4646Additional information on optimization you can find in the hint at
  • chapter06/bootscripts-inst.xml

    reb7df24 r26e62aa  
    99
    1010<para>If you decide to use BSD style, or some other style scripts, you can
    11 skip chapter 7 when you arrive at it and move on to chapter 8.</para>
     11skip Chapter 7 when you arrive at it and move on to Chapter 8.</para>
    1212
    1313<para>Install LFS-Bootscripts by running the following command:</para>
  • chapter06/changingowner.xml

    reb7df24 r26e62aa  
    44
    55<para>The first thing we'll do, now that we're <emphasis>root</emphasis>,
    6 is change the ownership of the files and directories installed in chapter 5
     6is change the ownership of the files and directories installed in Chapter 5
    77to root -- because when later we don't delete the
    88<filename class="directory">/static</filename> directory and start adding
  • chapter06/creatingdirs.xml

    reb7df24 r26e62aa  
    4040
    4141<para>Now that the directories are created, move the source tarballs that
    42 were downloaded in chapter 3 to some subdirectory under
     42were downloaded in Chapter 3 to some subdirectory under
    4343<filename class="directory">/usr/src</filename> (you
    4444will have to create the desired subdirectory yourself).</para>
  • chapter06/gcc-exp.xml

    reb7df24 r26e62aa  
    11<sect2>
    22<title>Command explanations</title>
     3
     4<para><userinput>--enable-threads=posix:</userinput> This enables C++
     5exception handling for multithreaded code.</para>
    36
    47<para><userinput>--enable-__cxa_atexit:</userinput> This option will result
  • chapter06/lilo-inst.xml

    reb7df24 r26e62aa  
    1919message stating that /sbin/lilo has to be executed to complete the
    2020update. Don't do this, as it has no use: the /etc/lilo.conf isn't present
    21 yet. We will complete the installation of lilo in chapter 8.</para>
     21yet. We will complete the installation of lilo in Chapter 8.</para>
    2222
    2323<para>The standard LILO prompt, or menu, may be replaced by the
  • chapter07/loadkeys.xml

    reb7df24 r26e62aa  
    44
    55<para>If you decided to compile your keymap file directly into the kernel
    6 back at the end of chapter 6, then you strictly speaking don't need to run
     6back at the end of Chapter 6, then you strictly speaking don't need to run
    77this loadkeys script, since the kernel has already set up the keymap for
    88you. You can still run it if you want, it isn't going to hurt you. It could
  • chapter09/reboot.xml

    reb7df24 r26e62aa  
    4141
    4242<para>You may now remove the static directory. If you think you may
    43 need to redo chapter 5, then you may wish to backup the directory before
     43need to redo Chapter 5, then you may wish to backup the directory before
    4444removing it. To remove the static directory, type the following
    4545command:</para>
  • index.xml

    reb7df24 r26e62aa  
    55<!ENTITY book SYSTEM "book/book.xml">
    66
    7 <!ENTITY version "20020918">
    8 <!ENTITY releasedate "September 18th, 2002">
     7<!ENTITY version "20020920">
     8<!ENTITY releasedate "September 20th, 2002">
    99
    1010<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
  • preface/foreword.xml

    reb7df24 r26e62aa  
    77the bootscripts. I didn't like the way certain programs were configured by
    88default. Much more of that sort of thing bothered me. Finally I realized
    9 that if I wanted full satisfisfaction from my Linux system I would have to
     9that if I wanted full satisfaction from my Linux system I would have to
    1010build my own system from scratch, using only the source code. I resolved
    1111not to use pre-compiled packages of any kind, nor CD-ROM or bootdisk that
  • preface/organization.xml

    reb7df24 r26e62aa  
    33<?dbhtml filename="organization.html" dir="preface"?>
    44
    5 <para>Much of the appendices is integrated into Part II (which enlarges the
     5<para>Much of the appendices are integrated into Part II (which enlarges the
    66book somewhat). We believe this makes for easier reading. This way, you
    7 don't have to keep referencing an Appendix while you read Part II. That's
    8 a real chore, especially if you're reading the TXT version of this book.
     7don't have to keep referencing an appendix while you read Part II. That's
     8a real chore, especially if you're reading the txt version of this book.
    99This book is divided into the following parts:</para>
    1010
  • preface/organpart1.xml

    reb7df24 r26e62aa  
    55(revisions, where to get it, changelog, mailing lists, and other contact
    66information). It also contains suggested readings which discuss a few
    7 important considerations to consider before beginning your LFS
    8 system.</para>
     7important considerations before beginning your LFS system.</para>
    98
    109</sect2>
  • preface/organpart2.xml

    reb7df24 r26e62aa  
    33
    44<para>Part II guides you through the building and installation of an LFS
    5 system. The resulting LFS system will be the core foundation with which
    6 the rest of your Linux system is built upon. Whatever your system becomes,
     5system. The resulting LFS system will be the core foundation upon which
     6the rest of your Linux system is built. Whatever your system becomes,
    77it will be built and supported by the foundation that we build in Part
    88II.</para>
  • preface/organpart3.xml

    reb7df24 r26e62aa  
    22<title>Part III - Appendixes</title>
    33
    4 <para>Part III contains various Appendices.</para>
     4<para>Part III contains various appendices.</para>
    55
    66</sect2>
  • preface/whoread.xml

    reb7df24 r26e62aa  
    3232
    3333<para>We could compare distributed Linux to a hamburger you buy at a
    34 fast-food restaurant, you have no idea what you are eating. LFS on the
     34fast-food restaurant - you have no idea what you are eating. LFS, on the
    3535other hand, doesn't give you a hamburger, but the recipe to make a hamburger.
    3636This allows you to review it, to omit unwanted ingredients, and to
Note: See TracChangeset for help on using the changeset viewer.