diff options
-rw-r--r-- | chapter05/chapter05.xml | 8 | ||||
-rw-r--r-- | chapter05/gcc-pass2-inst.xml | 2 | ||||
-rw-r--r-- | chapter05/glibc-inst.xml | 6 | ||||
-rw-r--r-- | chapter06/chroot.xml | 2 | ||||
-rw-r--r-- | chapter06/introduction.xml | 18 |
5 files changed, 20 insertions, 16 deletions
diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml index 1ce12a4a4..fd9db376a 100644 --- a/chapter05/chapter05.xml +++ b/chapter05/chapter05.xml @@ -40,10 +40,10 @@ <title>Stripping</title> <?dbhtml filename="stripping.html" dir="chapter05"?> -<para>If your LFS partition is rather small, you will be glad to learn that you -can throw away some unnecessary things. The executables and libraries you have -built so far contain about 130 MB of unneeded debugging symbols. Remove those -symbols like this:</para> +<para>The steps in this section are optional. If your LFS partition is rather +small, you will be glad to learn that you can throw away some unnecessary +things. The executables and libraries you have built so far contain about 130 MB +of unneeded debugging symbols. Remove those symbols like this:</para> <para><screen><userinput>strip --strip-unneeded /tools/{,s}bin/* strip --strip-debug /tools/lib/*</userinput></screen></para> diff --git a/chapter05/gcc-pass2-inst.xml b/chapter05/gcc-pass2-inst.xml index bd2ba4428..a22419cb0 100644 --- a/chapter05/gcc-pass2-inst.xml +++ b/chapter05/gcc-pass2-inst.xml @@ -40,7 +40,7 @@ patch -Np1 -i ../gcc-&gcc-specs-version;.patch</userinput></screen></para> briefly earlier, but a slightly more in-depth explanation of the fixincludes process is warranted here. Under normal circumstances, the GCC fixincludes script scans your system for header files that need to be fixed. It might find -that the Glibc header files on your host system need to be fixed, fix them and +that some Glibc header files on your host system need to be fixed, fix them and put them in the GCC private include directory. Then, later on in Chapter 6, after we've installed the newer Glibc, this private include directory would be searched before the system include directory, resulting in GCC finding the diff --git a/chapter05/glibc-inst.xml b/chapter05/glibc-inst.xml index 433d6371b..9ffcea2f8 100644 --- a/chapter05/glibc-inst.xml +++ b/chapter05/glibc-inst.xml @@ -73,12 +73,12 @@ libpng, libz, and so forth).</para></listitem> <para>During this stage you might see the following warning:</para> <blockquote><screen>configure: WARNING: -*** These auxiliary programs are missing or incompatible versions: autoconf +*** These auxiliary programs are missing or incompatible versions: msgfmt *** some features will be disabled. *** Check the INSTALL file for required versions.</screen></blockquote> -<para>The missing or incompatible <filename>autoconf</filename> program is -harmless and doesn't cause any problems.</para> +<para>The missing or incompatible <filename>msgfmt</filename> program is +generally harmless and shouldn't cause us any problems.</para> <para>Continue with compiling the package:</para> diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml index 15e7894cd..cd45f41a3 100644 --- a/chapter06/chroot.xml +++ b/chapter06/chroot.xml @@ -27,7 +27,7 @@ like vim and less to operate properly. If you need other variables present, such as CFLAGS or CXXFLAGS, this is a good place to set them again.</para> <para>Also note the use of the set +h directive. This tells bash to not use -it's internal path hashing. Without this directive, bash will remember paths +its internal path hashing. Without this directive, bash will remember paths to binaries. Since as we go thru chapter 6, we want to use our newly compiled binaries as soon as they are installed, we turn off this function.</para> diff --git a/chapter06/introduction.xml b/chapter06/introduction.xml index f8063525f..d04afa665 100644 --- a/chapter06/introduction.xml +++ b/chapter06/introduction.xml @@ -15,13 +15,17 @@ Although we agree with that, we nevertheless choose to give the full instructions for each and every package, simply to minimize the possibilities for mistakes.</para> -<para>If you plan to use compiler optimizations in this chapter, -take a look at the optimization hint at -<ulink url="&hints-root;optimization.txt"/>. -Compiler optimizations can make a program run faster, but they -may also cause compilation difficulties. If a package refuses -to compile when using optimization, try to compile it without -optimization and see if the problem goes away.</para> +<para>If you plan to use compiler optimizations in this chapter, take a look at +the optimization hint at <ulink url="&hints-root;optimization.txt"/>. Compiler +optimizations can make a program run a touch faster, but they may also cause +compilation difficulties and even problems when running the program. If a +package refuses to compile when using optimization, try to compile it without +optimization and see if the problem goes away. Even if the package does compile +when using optimization, there is the risk it may have been compiled +incorrectly due to compiler bugs or whatever. In short, the small gains achieved +in using compiler optimization are generally outweighed by the risk. First time +builders of LFS are encouraged not to bother. Your system will still be plenty +fast enough and very stable at the same time.</para> <para>The order in which packages are installed in this chapter has to be strictly followed, to ensure that no program gets a path referring |