diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-26 21:25:09 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-26 21:25:09 +0000 |
commit | 32cee45c7138e9385d0341d093a03d7f660ec749 (patch) | |
tree | 99abe7b5b47628c9332d22d3034ed6a58a3b9ee3 /chapter05 | |
parent | 624fe9515e30944c35363b646b0b0cde87eeb802 (diff) |
Applied Alex Groenewoud's namesandspaces.dat patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1913 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/bzip2-inst.xml | 2 | ||||
-rw-r--r-- | chapter05/fileutils-inst.xml | 6 | ||||
-rw-r--r-- | chapter05/gcc-exp.xml | 4 | ||||
-rw-r--r-- | chapter05/installasuser.xml | 2 | ||||
-rw-r--r-- | chapter05/introduction.xml | 2 | ||||
-rw-r--r-- | chapter05/make-inst.xml | 8 | ||||
-rw-r--r-- | chapter05/patch-exp.xml | 7 | ||||
-rw-r--r-- | chapter05/shellutils-inst.xml | 4 | ||||
-rw-r--r-- | chapter05/utillinux-inst.xml | 4 | ||||
-rw-r--r-- | chapter05/whystatic.xml | 10 |
10 files changed, 24 insertions, 25 deletions
diff --git a/chapter05/bzip2-inst.xml b/chapter05/bzip2-inst.xml index 8bccdeaf3..b40eda13a 100644 --- a/chapter05/bzip2-inst.xml +++ b/chapter05/bzip2-inst.xml @@ -12,7 +12,7 @@ program to compress and uncompress using bzip2/bunzip2 easily. With a plain tar, you have to use constructions like bzcat file.tar.bz|tar xv or tar --use-compress-prog=bunzip2 -xvf file.tar.bz2 to use bzip2 and bunzip2 with tar. This patch provides the -j option so you can unpack a -Bzip2 archive with tar xvfj file.tar.bz2. Applying this patch will be +bzip2'ed archive with tar xvfj file.tar.bz2. Applying this patch will be mentioned later on when the Tar package is installed.</para> </sect2> diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml index 83e77af52..adfff9733 100644 --- a/chapter05/fileutils-inst.xml +++ b/chapter05/fileutils-inst.xml @@ -3,13 +3,13 @@ <para>The programs from a statically linked Fileutils package may cause segmentation faults on certain systems, if your distribution has -Glibc-2.2.3 or higher installed. It also seems to happen mostly on machines +Glibc-2.2.3 or higher installed. It seems to happen mostly on machines powered by an AMD CPU, but there is a case or two where an Intel system -is affected as well. If your system falls under this category, try the +is affected as well. If your system falls in this category, try the following fix.</para> <para>Note that in some cases using these sed commands will result in -problems not being able to compile this package at all, even when your +not being able to compile this package at all, even when your system has an AMD CPU and has Glibc-2.2.3 (or higher) installed. If that's the case, you'll need to remove the fileutils-&fileutils-version; directory and unpack it again from the tarball before continuing. We believe this diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index 5a1437079..7d9d5f773 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -2,8 +2,8 @@ <title>Command explanations</title> <para><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch:</userinput> -This new patch deals with incorrect handling of weak symbols, the -over-optimization of calls to those weak symbols, an atexit issue and +This patch deals with the incorrect handling of weak symbols, the +over-optimization of calls to those weak symbols, an atexit issue, and the __dso_handle symbol required for atexit's proper function.</para> <para><userinput>make BOOT_LDFLAGS=-static:</userinput> diff --git a/chapter05/installasuser.xml b/chapter05/installasuser.xml index 85d2013e0..a914e6a50 100644 --- a/chapter05/installasuser.xml +++ b/chapter05/installasuser.xml @@ -37,7 +37,7 @@ EOF source ~/.bash_profile</userinput></screen></para> <para>This profile makes sure the umask is set to 022 so newly created -files and directories will have the correct permission. It is advisable +files and directories will have the correct permissions. It is advisable to keep this setting throughout your LFS installation. Also, the $LFS and $LC_ALL environment variables are set. $LFS has been explained in previous chapters already. $LC_ALL is a variable that is used for diff --git a/chapter05/introduction.xml b/chapter05/introduction.xml index d59d7d0d3..2e272c5d7 100644 --- a/chapter05/introduction.xml +++ b/chapter05/introduction.xml @@ -21,7 +21,7 @@ compiler.</para> <para>All the files from this chapter will be installed under the <filename class="directory">$LFS/static</filename> directory. By doing it this way, -we keep the installation from this chapter seperate from the final +we keep the installation from this chapter separate from the final installation in the next chapter. Everything done here is only temporarily so we don't want it to pollute the to-be LFS system.</para> diff --git a/chapter05/make-inst.xml b/chapter05/make-inst.xml index 0be34b03c..bbc7935ff 100644 --- a/chapter05/make-inst.xml +++ b/chapter05/make-inst.xml @@ -14,10 +14,10 @@ make install</userinput></screen></para> otherwise the `-l' option will probably not work. You may need special privileges to complete the installation of /mnt/lfs/static/bin/make.</screen></blockquote> -<para>You can safely ignore this warning. make doesn't need to be owned by -group kmem and setgid for the <emphasis>-l</emphasis> option to work (which -you can use to tell make not to start any new jobs when a certain load on -the system is reached).</para> +<para>You can safely ignore this warning. The make program doesn't actually need to be owned by +group kmem and setgid for the <emphasis>-l</emphasis> option to work. (This option +tells make not to start any new jobs when a certain load on +the system has been reached.)</para> </sect2> diff --git a/chapter05/patch-exp.xml b/chapter05/patch-exp.xml index 12b36a78a..fc87079f0 100644 --- a/chapter05/patch-exp.xml +++ b/chapter05/patch-exp.xml @@ -2,10 +2,9 @@ <title>Command explanations</title> <para><userinput>CPPFLAGS=-D_GNU_SOURCE: </userinput> -Adding <userinput>-D_GNU_SOURCE</userinput> to CPPFLAGS command before -we configure patch fixes installation of the package on PPC and m68k -platforms (that we know of). It also doesn't hurt compilation on other -platforms (such as x86) so we do it by default.</para> +This flag fixes installation problems of this package on PPC and m68k +platforms (that we know of). It doesn't hurt compilation on other +platforms (such as x86); so we do it by default.</para> </sect2> diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml index 943df5434..760f80781 100644 --- a/chapter05/shellutils-inst.xml +++ b/chapter05/shellutils-inst.xml @@ -14,9 +14,9 @@ make install</userinput></screen></para> NOTE: to install su, run 'make install-root' as root</screen></blockquote> <para>You can safely ignore that warning. You need to be logged in as root -in order to install su the way sh-utils wants to install it, that being +in order to install su the way Sh-utils wants to install it, which is being suid root. Because we don't need su during chapter 6, and su will be properly -installed when we re-install sh-utils in chapter 6 anyways, you can just +installed when we re-install Sh-utils in chapter 6, you can just pretend you didn't see it.</para> </sect2> diff --git a/chapter05/utillinux-inst.xml b/chapter05/utillinux-inst.xml index 781ee2c84..a80ba089a 100644 --- a/chapter05/utillinux-inst.xml +++ b/chapter05/utillinux-inst.xml @@ -1,10 +1,10 @@ <sect2> -<title>Installation of Util-Linux</title> +<title>Installation of Util-linux</title> <para>We only need the mount and umount programs at the moment, so we won't be compiling the entire package.</para> -<para>Install Util-Linux by running the following commands:</para> +<para>Install Util-linux by running the following commands:</para> <para><screen><userinput>./configure && make -C lib && diff --git a/chapter05/whystatic.xml b/chapter05/whystatic.xml index 9bc406c65..ace5bcbeb 100644 --- a/chapter05/whystatic.xml +++ b/chapter05/whystatic.xml @@ -2,8 +2,8 @@ <title>Why do we use static linking?</title> <?dbhtml filename="whystatic.html" dir="chapter05"?> -<para>Thanks to Plasmatic for posting the text on which this is mainly -based to one of the LFS mailing lists.</para> +<para>(Thanks to Plasmatic for posting the text on which this is mainly +based to one of the LFS mailing lists.)</para> <para>When making (compiling) a program, rather than having to rewrite all the functions for dealing with the kernel, hardware, files, etc. every time you @@ -16,15 +16,15 @@ new program, so that it can use any of the functions that the library has.</para> <para>However, these libraries can be very large (for example, libc.a -can often be around 2.5MB), so you may not want a separate copy of each +can often be around 2.5 MB), so you may not want a separate copy of each library attached to the program. Just imagine if you had a simple command -like ls with an extra 2.5MB attached to it! Instead of making the library +like ls with an extra 2.5 MB attached to it! Instead of making the library an actual part of the program, or statically linked, the library is kept a separate file, which is loaded only when the program needs it. This is what we call dynamically linked, as the library is loaded and unloaded dynamically, as the program needs it.</para> -<para>So now we have a 1KB file and a 2.5MB file, but we still haven't saved any +<para>So now we have a 1 KB file and a 2.5 MB file, but we still haven't saved any space (except maybe RAM until the library is needed). The REAL advantage to dynamically linked libraries is that we only need one copy of the library. If <filename>ls</filename> and <filename>rm</filename> both use the same |