Changeset 1e66abe


Ignore:
Timestamp:
10/04/2003 02:55:49 AM (21 years ago)
Author:
Greg Schafer <greg@…>
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, 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:
35c2fa60
Parents:
e4df1fc
Message:

Chapter 5 - Binutils Pass 1: Add extra LDFLAGS to ensure static rebuild of ld. Add some clarifying notes re package directory removal and POSIX shared memory.

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

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    re4df1fc r1e66abe  
    9696</para></listitem>
    9797
     98<listitem><para>October 4th, 2003 [greg]: Chapter 5 - Binutils Pass 1: Add
     99extra LDFLAGS to ensure static rebuild of ld.</para></listitem>
     100
    98101<listitem><para>October 2nd, 2003 [greg]: Chapter 6: Reinstate
    99102INSTALL=/tools/bin/install for linker adjustment command due to issues on hosts
  • chapter04/chapter04.xml

    re4df1fc r1e66abe  
    3535works well is to use $LFS/tools/src/packages for all the downloaded files and
    3636$LFS/tools/src for the working directory. In this way, everything will be on the
    37 LFS partition and always available.</para>
     37LFS partition and always available. Normally, you should delete the source and
     38build directories after each package installation, unless instructed to do
     39otherwise.</para>
    3840
    3941<!--
  • chapter05/binutils-pass1-inst.xml

    re4df1fc r1e66abe  
    6565
    6666<para><screen><userinput>make -C ld clean
    67 make -C ld LIB_PATH=/tools/lib</userinput></screen></para>
     67make -C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib</userinput></screen></para>
    6868
    6969<para>The meaning of the make options:</para>
     
    7474subdirectory.</para></listitem>
    7575
    76 <listitem><para><userinput>-C ld LIB_PATH=/tools/lib</userinput>: This option
    77 rebuilds everything in the <filename>ld</filename> subdirectory. Specifying the
    78 LIB_PATH makefile variable on the command line allows us to override the default
    79 value and have it point to our temporary tools location. The value of this
    80 variable specifies the linker's default library search path. You'll see how this
    81 preparation is utilised later on in the chapter.</para></listitem>
     76<listitem><para><userinput>-C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib</userinput>:
     77This option rebuilds everything in the <filename>ld</filename> subdirectory.
     78Specifying the LIB_PATH makefile variable on the command line allows us to
     79override the default value and have it point to our temporary tools location.
     80The value of this variable specifies the linker's default library search path.
     81You'll see how this preparation is utilised later on in the
     82chapter.</para></listitem>
    8283</itemizedlist>
    8384
  • chapter08/fstab.xml

    re4df1fc r1e66abe  
    3333
    3434<para>The <filename>/dev/shm</filename> mount point for tmpfs is included to
    35 comply with Posix shared memory requirements.  For more information on this,
    36 see <filename>Documentation/filesystems/tmpfs.txt</filename> in the kernel
    37 source tree.</para>
     35enable POSIX shared memory. Your kernel must have the required support built
     36into it for this to work. More about this in the next section. Please note that
     37currently, very little software actually uses POSIX shared memory. Therefore you
     38can consider the <filename>/dev/shm</filename> mount optional. For more
     39information, see <filename>Documentation/filesystems/tmpfs.txt</filename> in the
     40kernel source tree.</para>
    3841
    3942<para>There are other lines which you may consider adding to your
  • chapter08/kernel-inst.xml

    re4df1fc r1e66abe  
    3131directory.</para>
    3232
    33 <para>It's important to note that to be compliant with POSIX shared memory
    34 requirements, we must enable the tmpfs filesystem option, and mount a tmpfs
    35 filesystem at <filename>/dev/shm</filename>.</para>
     33<para>For POSIX shared memory support, ensure that the kernel config option
     34"Virtual memory file system support" is enabled. It resides within the "File
     35systems" menu and is normally enabled by default.</para>
    3636
    3737<para>Verify dependencies and create dependency information files:</para>
  • index.xml

    re4df1fc r1e66abe  
    44
    55
    6 <!ENTITY version "20031002">
    7 <!ENTITY releasedate "October 2nd, 2003">
     6<!ENTITY version "20031004">
     7<!ENTITY releasedate "October 4th, 2003">
    88<!ENTITY nbsp " ">
    99
Note: See TracChangeset for help on using the changeset viewer.