From 0b5096ca63531ea29f6a434435d66390c4ae0371 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Tue, 12 Apr 2005 19:42:57 +0000 Subject: [PATCH] PDF fixes in chapter05 git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@4936 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/adjusting.xml | 2 ++ chapter05/coreutils.xml | 5 +++-- chapter05/expect.xml | 2 ++ chapter05/gcc-pass1.xml | 4 +++- chapter05/gcc-pass2.xml | 2 ++ chapter05/glibc.xml | 4 +++- chapter05/tcl.xml | 2 ++ chapter05/toolchaintechnotes.xml | 4 ++++ 8 files changed, 21 insertions(+), 4 deletions(-) diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml index 834ef166f..c3e00f876 100644 --- a/chapter05/adjusting.xml +++ b/chapter05/adjusting.xml @@ -68,6 +68,8 @@ possibility: rm -f /tools/lib/gcc/*/*/include/{pthread.h,bits/sigthread.h} + + At this point, it is imperative to stop and ensure that the basic functions (compiling and linking) of the new toolchain are working as expected. To perform a sanity check, run the following diff --git a/chapter05/coreutils.xml b/chapter05/coreutils.xml index e7bf67d37..52f1bfb69 100644 --- a/chapter05/coreutils.xml +++ b/chapter05/coreutils.xml @@ -54,8 +54,9 @@ instructions be followed exactly as given above. To test the results, issue: make RUN_EXPENSIVE_TESTS=yes check. The -RUN_EXPENSIVE_TESTS=yes parameter tells the -test suite to run several additional tests that are considered +RUN_EXPENSIVE_TESTS=yes +RUN_EXPENSIVE_ TESTS=yes +parameter tells the test suite to run several additional tests that are considered relatively expensive (in terms of CPU power and memory usage) on some platforms, but generally are not a problem on Linux. diff --git a/chapter05/expect.xml b/chapter05/expect.xml index 0bb187582..bca9bb300 100644 --- a/chapter05/expect.xml +++ b/chapter05/expect.xml @@ -82,6 +82,8 @@ scripts, which are not needed. The source directories of both Tcl and Expect can now be removed. + + Contents of Expect diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index f2bec515b..c82af0e26 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -48,7 +48,7 @@ cd ../gcc-build ../gcc-&gcc-version;/configure --prefix=/tools \ --libexecdir=/tools/lib --with-local-prefix=/tools \ --disable-nls --enable-shared --enable-languages=c - + The meaning of the configure options: @@ -84,6 +84,8 @@ tarball. make bootstrap + + The meaning of the make parameters: diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 202f9a0d9..9eda7a226 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -164,6 +164,8 @@ target now because the compiler being used to compile this GCC was built from the exact same version of the GCC sources used earlier. + + Compilation is now complete. As previously mentioned, running the test suites for the temporary tools compiled in this chapter is not mandatory. To run the GCC test suite anyway, use the following diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 9b05e406f..d2ce4b6e9 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -78,7 +78,7 @@ for 2.6.x Linux kernels. --with-binutils=/tools/bin While not required, this switch ensures that there are no errors pertaining to which Binutils programs get used during the -Glibc build. +Glibc build. @@ -152,6 +152,8 @@ off and continue. This stop-start sequence can be circumvented by issuing a make -k check command. If using this option, be sure to log the output so that the log file can be examined for failures later. + + The install stage of Glibc will issue a harmless warning at the end about the absence of /tools/etc/ld.so.conf. Prevent this warning with: diff --git a/chapter05/tcl.xml b/chapter05/tcl.xml index da4c70be5..f72fb813f 100644 --- a/chapter05/tcl.xml +++ b/chapter05/tcl.xml @@ -70,6 +70,8 @@ will need its internal headers. ln -s tclsh8.4 /tools/bin/tclsh + + Contents of Tcl diff --git a/chapter05/toolchaintechnotes.xml b/chapter05/toolchaintechnotes.xml index 9a065a054..e2476d3b9 100644 --- a/chapter05/toolchaintechnotes.xml +++ b/chapter05/toolchaintechnotes.xml @@ -80,6 +80,8 @@ might not show up until near the end of the build of an entire distribution. A test suite failure will usually alert this error before too much additional work is performed. + + Binutils installs its assembler and linker in two locations, /tools/bin and /tools/$TARGET_TRIPLET/bin. The tools in @@ -167,6 +169,8 @@ the packages all build against the new Glibc in /tools. + + Upon entering the chroot environment in , the first major package to be installed is Glibc, due to its self-sufficient nature mentioned above.