Changeset 72033583


Ignore:
Timestamp:
03/18/2001 07:30:50 PM (23 years ago)
Author:
Thomas Balu Walter <tw@…>
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, v3_0, v3_1, v3_2, v3_3, 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:
137bd50
Parents:
ab8b352
Message:

You

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

Files:
13 edited

Legend:

Unmodified
Added
Removed
  • chapter05/bash-exp.xml

    rab8b352 r72033583  
    1010<userinput>--prefix=$LFS/usr:</userinput> This configure option installs
    1111all of Bash's files under the $LFS/usr directory, which becomes the /usr
    12 directory after you chroot into $LFS or when you reboot the system into LFS.
     12directory after the user chrooted into $LFS or when he rebooted
     13the system into LFS.
    1314</para>
    1415
     
    1617<userinput>--bindir=$LFS/bin:</userinput> This installs the executable
    1718files in $LFS/bin. We do this because we want bash to be in /bin, not in
    18 /usr/bin. One reason being: your /usr partition might be on a seperate
     19/usr/bin. One reason being: the /usr partition might be on a seperate
    1920partition which has to be mounted at some point. Before that partition is
    20 mounted you need and will want to have bash available (it will be hard to
     21mounted a user needs and will want to have bash available (it will be hard to
    2122execute the boot scripts without a shell for instance).
    2223</para>
     
    4546The <userinput>&amp;&amp;</userinput>'s at the end of every line cause
    4647the next command only to be executed when the previous command exists
    47 with a return value of 0 indicating success. In case you copy&amp;paste
    48 all of these commands on the shell you want to be ensured that if
     48with a return value of 0 indicating success. In case all of these
     49commands are copy&amp;pasted
     50on the shell is is important to be ensured that if
    4951./configure fails, make isn't being executed and likewise if make fails
    5052that make install isn't being executed, and so forth.
  • chapter05/bash-inst.xml

    rab8b352 r72033583  
    1919
    2020<para>
    21 If you get errors when compiling bash that tell you about not being able to
    22 find <quote>-lcurses</quote> run these two commands to create the
     21If a user gets errors when compiling bash that tell about not being able to
     22find <quote>-lcurses</quote> these two commands should be run to create the
    2323missing symlink (so far we have not enountered one distribution that has
    2424this libncurses symlink setup properly, except for LFS systems where it
     
    3535<para>
    3636Note: Normally the libncurses.a file resides in the /usr/lib directory
    37 but it might reside in /lib (like it does on LFS systems). So check to
    38 make sure whether you should run the ln command in /usr/lib or in /lib
     37but it might reside in /lib (like it does on LFS systems). A user needs
     38to check to
     39make sure whether the ln command has to be run in /usr/lib or in /lib.
    3940</para>
    4041
  • chapter05/binutils-exp.xml

    rab8b352 r72033583  
    1919$(exec_prefix)/$(target_alias) which expands into, for example,
    2020/usr/i686-pc-linux-gnu. Since we only build for our own system we don't
    21 need this target specific directory in $LFS/usr. You would use that
    22 setup if you use your system to cross-compile (for example you would
    23 compile a package on your Intel machine that generates code that can be
     21need this target specific directory in $LFS/usr. That setup would be used
     22if the system is used to cross-compile (for example
     23compiling a package on the Intel machine that generates code that can be
    2424executed on Apple PowerPC machines).
    2525</para>
  • chapter05/bzip2-exp.xml

    rab8b352 r72033583  
    1313is the last parameter of the sed command which indicates the file to
    1414search and replace in. sed normally sends the modified file to stdout
    15 (standard output) which will be your console. With the construction we
     15(standard output) which will be the console. With the construction we
    1616use, sed's output will be piped to the make program. Normally when make
    1717is started it tries to find a number of files like Makefile. But we have
     
    2525<para>
    2626<userinput>LDFLAGS=-static:</userinput> This is the second way we use to
    27 link a package statically. This is also the most common way. As you'll
    28 notice, the -all-static value is only used with the binutils package and
     27link a package statically. This is also the most common way.
     28The -all-static value is only used with the binutils package and
    2929won't be used throughout the rest of this book.
    3030</para>
  • chapter05/gcc-exp.xml

    rab8b352 r72033583  
    55<userinput>--enable-languages=c,c++:</userinput> This only builds the C
    66and C++ compilers and not the other available compilers as they are, on
    7 the average, not often used. If you do need those other compilers don't
    8 use the --enable-languages parameter.
     7the average, not often used. If those other compilers are needed
     8the --enable-languages parameter can be omitted..
    99</para>
    1010
  • chapter05/gcc-inst.xml

    rab8b352 r72033583  
    33
    44<para>
    5 After you unpacked the gcc-2.95.2.1 archive don't enter the newly created
    6 gcc-2.95.2.1 directory but stay in the $LFS/usr/src directory. Install GCC by
     5After the gcc-2.95.2.1 archive was unpacked, the newly created
     6gcc-2.95.2.1 directory is not entered. The user should stay in the
     7$LFS/usr/src directory. GCC is installed by
    78running the following commands:
    89</para>
  • chapter05/gzip-inst.xml

    rab8b352 r72033583  
    33
    44<para>
    5 Before you install Gzip you have to unpack the gzip patch file.
     5Before Gzip is installed the the gzip patch file needs to be unpacked.
    66</para>
    77
  • chapter05/installasroot.xml

    rab8b352 r72033583  
    33
    44<para>
    5 It's best if you login as root or su to root when installing these
    6 files. That way you are assured that all files are owned by user root,
    7 group root (and not owned by the userid of your non-root user) and if a
     5It's best if the user logins as root or su's to root when installing these
     6files. That way he is assured that all files are owned by user root,
     7group root (and not owned by the userid of the non-root user) and if a
    88package wants to set special permissions it can do so without problems
    99due to non-root access.
     
    1111
    1212<para>
    13 If you read the documentation that comes with Glibc, Gcc and other
    14 packages they recommend not to compile the packages as user root. We
     13The documentation that comes with Glibc, Gcc and other
     14packages recommend not to compile the packages as user root. We
    1515feel it's safe to ignore that recommendation and compile as user root
    1616anyways. Hundreds of people using LFS have done so without any problems
    1717whatsoever and we haven't encountered any bugs in the compile processes
    1818that cause harm. So it's pretty safe (never can be 100% safe though, so
    19 it's up to you what you end up doing).
     19it's up to the user what he ends up doing).
    2020</para>
    2121
  • chapter05/introduction.xml

    rab8b352 r72033583  
    44<para>
    55In the following chapters we will install all the software that belongs to
    6 a basic Linux system. After you're done with this chapter you have a
     6a basic Linux system. After a user is done with this chapter he has a
    77fully working Linux system. The remaining chapters deal with setting up
    88networking, creating the boot scripts and adding an entry to lilo.conf so
    9 that you can boot your LFS system.
     9that the LFS system can be booted.
    1010</para>
    1111
     
    1414will be re-installed in the next chapter and linked dynamically. The
    1515reason for the static version first is that there is a chance that our
    16 normal Linux system and your LFS system aren't using the same C
     16normal Linux system and the LFS system aren't using the same C
    1717Library versions. If the programs in the first part are linked against
    1818an older C library version, those programs might not work well on the
     
    2222<para>
    2323The key to learn what makes Linux tick is to know exactly what packages
    24 are used for and why you or the system needs them. Descriptions
     24are used for and why a user or the system needs them. Descriptions
    2525of the package content are provided after the Installation subsection of each
    2626package and in Appendix A as well.
     
    3333
    3434<para>
    35 During the installation of various packages you will most likely see
    36 compiler warnings scrolling by on your screen. These are normal and can
     35During the installation of various packages the user will most likely see
     36compiler warnings scrolling by on the screen. These are normal and can
    3737be safely ignored. They are just that, warnings (mostly about improper
    3838use of the C or C++ syntax, but not illegal use. It's just that often C
     
    4242
    4343<para>
    44 Before we start, make sure you have the LFS environment variable setup
    45 if you plan on using it, by running the following command:
     44Before we start, it should be made sure the LFS environment variable was
     45setup
     46if it was planned to be used, by running the following command:
    4647</para>
    4748
  • preface/organpart1.xml

    rab8b352 r72033583  
    33
    44<para>
    5 Part One gives you general information about this book (versions, where
     5Part One gives general information about this book (versions, where
    66to get it, changelog, mailing lists, and how to get in touch with me).
    7 It also explains a few important aspects you really want and need to
    8 read before you start building an LFS system.
     7It also explains a few important aspects a user really wants and needs to
     8read before starting to build an LFS system.
    99</para>
    1010
  • preface/organpart2.xml

    rab8b352 r72033583  
    33
    44<para>
    5 Part Two guides you through the installation of the LFS system which will
    6 be the foundation for the rest of the system. Whatever you
    7 choose to do with your brand new LFS system, it will be built on the
     5Part Two guides through the installation of the LFS system which will
     6be the foundation for the rest of the system. Whatever a user
     7chooses to do with his brand new LFS system, it will be built on the
    88foundation that's installed in this part.
    99</para>
  • preface/whonotread.xml

    rab8b352 r72033583  
    44<para>
    55Users who don't want to build an entire Linux system from scratch
    6 probably don't want to read this book. If you, however, do want to learn
     6probably don't want to read this book. If a user, however, wants to learn
    77more about what happens behind the scenes, in particular what happens
    8 between turning on your computer and seeing the command prompt, you want
     8between turning on the computer and seeing the command prompt, he wants
    99to read the <quote>From Power Up To Bash Prompt</quote> (P2B) HOWTO.
    1010This HOWTO builds a bare system, in way similar to the one this book
     
    1414
    1515<para>
    16 To decide whether you want to read this book or the P2B HOWTO, you could
    17 ask yourself this question: "Is my main objective to get a working Linux
     16To decide whether to read this book or the P2B HOWTO, a user could
     17ask himself this question: "Is my main objective to get a working Linux
    1818system that I'm going to build myself and, along the way, learn what
    1919every component of a system is for, or is just the learning part my main
    20 objective?" If you want to build and learn, read this book. If you just
    21 want to learn, then the P2B HOWTO is probably better material to read.
     20objective?" If he wants to build and learn, he reads this book. If he just
     21wants to learn, then the P2B HOWTO is probably better material to read.
    2222</para>
    2323
  • preface/whoread.xml

    rab8b352 r72033583  
    55This book is intended for Linux users who want to setup their own
    66custom-built Linux system. Reasons for wanting to build such a system are
    7 diverse. Perhaps you want to get into more detail as to what
    8 happens behind the scenes. Perhaps you are fed up with distributions
    9 which are often bloated or perhaps you don't want to rely on pre-compiled
    10 binaries due to security concerns. There are many reasons why you may want
    11 a custom-built system, but if you are one of them, this book is meant
    12 for you.
     7diverse. Perhaps a user wants to get into more detail as to what
     8happens behind the scenes. Perhaps he is fed up with distributions
     9which are often bloated or perhaps he doesn't want to rely on pre-compiled
     10binaries due to security concerns. There are many reasons why a user may wants
     11a custom-built system, but if it is one of them, this book is meant
     12for him.
    1313</para>
    1414
    1515<para>
    16 The fruits of building your own system are plentiful, but the labour may
    17 be hard. You have a long way ahead of you but in the end you will be
    18 able to call yourself the proud owner of your own Linux system,
    19 completely tailored after your needs. You dictate the layout of
     16The fruits of building an own system are plentiful, but the labour may
     17be hard. It is a long way ahead but in the end a user will be
     18able to call himself the proud owner of his own Linux system,
     19completely tailored after his needs. He dictates the layout of
    2020bootscripts, the file system hierarchy, which programs are installed in
    2121which directory, which versions of software to use, and more. Perhaps the
    22 most important reason is that you know exactly what is installed where,
     22most important reason is to know exactly what is installed where,
    2323why, and how.
    2424</para>
Note: See TracChangeset for help on using the changeset viewer.