diff options
-rw-r--r-- | chapter01/changelog.xml | 3 | ||||
-rw-r--r-- | chapter04/chapter04.xml | 4 | ||||
-rw-r--r-- | chapter05/binutils-pass1-inst.xml | 15 | ||||
-rw-r--r-- | chapter08/fstab.xml | 9 | ||||
-rw-r--r-- | chapter08/kernel-inst.xml | 6 | ||||
-rw-r--r-- | index.xml | 4 |
6 files changed, 25 insertions, 16 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 367b06f96..298d6fd62 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -95,6 +95,9 @@ </itemizedlist> </para></listitem> +<listitem><para>October 4th, 2003 [greg]: Chapter 5 - Binutils Pass 1: Add +extra LDFLAGS to ensure static rebuild of ld.</para></listitem> + <listitem><para>October 2nd, 2003 [greg]: Chapter 6: Reinstate INSTALL=/tools/bin/install for linker adjustment command due to issues on hosts where a ginstall symlink exists. This renders the "install" symlinks redundant diff --git a/chapter04/chapter04.xml b/chapter04/chapter04.xml index d03f2b693..11d4205a5 100644 --- a/chapter04/chapter04.xml +++ b/chapter04/chapter04.xml @@ -34,7 +34,9 @@ that is conveniently available throughout the entire build. You'll also need a working directory in which to unpack the sources and build them. A scheme that works well is to use $LFS/tools/src/packages for all the downloaded files and $LFS/tools/src for the working directory. In this way, everything will be on the -LFS partition and always available.</para> +LFS partition and always available. Normally, you should delete the source and +build directories after each package installation, unless instructed to do +otherwise.</para> <!-- <para>For your convenience the top of the list contains a link to a file diff --git a/chapter05/binutils-pass1-inst.xml b/chapter05/binutils-pass1-inst.xml index 70b4abff8..6a2ee3850 100644 --- a/chapter05/binutils-pass1-inst.xml +++ b/chapter05/binutils-pass1-inst.xml @@ -64,7 +64,7 @@ strictly speaking, <userinput>"-all-static"</userinput> is first passed to the <para>Now prepare the linker for the "locking in" of Glibc later on:</para> <para><screen><userinput>make -C ld clean -make -C ld LIB_PATH=/tools/lib</userinput></screen></para> +make -C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib</userinput></screen></para> <para>The meaning of the make options:</para> @@ -73,12 +73,13 @@ make -C ld LIB_PATH=/tools/lib</userinput></screen></para> to remove all the compiled files, but only in the <filename>ld</filename> subdirectory.</para></listitem> -<listitem><para><userinput>-C ld LIB_PATH=/tools/lib</userinput>: This option -rebuilds everything in the <filename>ld</filename> subdirectory. Specifying the -LIB_PATH makefile variable on the command line allows us to override the default -value and have it point to our temporary tools location. The value of this -variable specifies the linker's default library search path. You'll see how this -preparation is utilised later on in the chapter.</para></listitem> +<listitem><para><userinput>-C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib</userinput>: +This option rebuilds everything in the <filename>ld</filename> subdirectory. +Specifying the LIB_PATH makefile variable on the command line allows us to +override the default value and have it point to our temporary tools location. +The value of this variable specifies the linker's default library search path. +You'll see how this preparation is utilised later on in the +chapter.</para></listitem> </itemizedlist> <warning><para>Do not yet remove the Binutils build and source directories. You diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index 4c38ede0e..b89afd0c2 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -32,9 +32,12 @@ end of the line should be replaced with <emphasis>0 0</emphasis>, as such a partition does not need to be dumped or checked</para> <para>The <filename>/dev/shm</filename> mount point for tmpfs is included to -comply with Posix shared memory requirements. For more information on this, -see <filename>Documentation/filesystems/tmpfs.txt</filename> in the kernel -source tree.</para> +enable POSIX shared memory. Your kernel must have the required support built +into it for this to work. More about this in the next section. Please note that +currently, very little software actually uses POSIX shared memory. Therefore you +can consider the <filename>/dev/shm</filename> mount optional. For more +information, see <filename>Documentation/filesystems/tmpfs.txt</filename> in the +kernel source tree.</para> <para>There are other lines which you may consider adding to your <filename>fstab</filename> file. One example is a line to use if you intend to diff --git a/chapter08/kernel-inst.xml b/chapter08/kernel-inst.xml index 480db6a1b..00f6c23b1 100644 --- a/chapter08/kernel-inst.xml +++ b/chapter08/kernel-inst.xml @@ -30,9 +30,9 @@ kernel config file, <filename>.config</filename>, from your host system to the <filename class="directory">$LFS/usr/src/linux-&kernel-version;</filename> directory.</para> -<para>It's important to note that to be compliant with POSIX shared memory -requirements, we must enable the tmpfs filesystem option, and mount a tmpfs -filesystem at <filename>/dev/shm</filename>.</para> +<para>For POSIX shared memory support, ensure that the kernel config option +"Virtual memory file system support" is enabled. It resides within the "File +systems" menu and is normally enabled by default.</para> <para>Verify dependencies and create dependency information files:</para> @@ -3,8 +3,8 @@ "/usr/share/docbook/docbookx.dtd" [ -<!ENTITY version "20031002"> -<!ENTITY releasedate "October 2nd, 2003"> +<!ENTITY version "20031004"> +<!ENTITY releasedate "October 4th, 2003"> <!ENTITY nbsp " "> <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org"> |