Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    r0fc1b27 rcb518e0  
    4646    <para>First, create a symbolic link for LSB compliance. Additionally,
    4747    for x86_64, create a compatibility symbolic link required for proper
    48     operation of the dynamic library loader:</para>
    49 
    50 <screen><userinput remap="pre">case $(uname -m) in
    51     i?86)   ln -sfv ld-linux.so.2 $LFS/lib/ld-lsb.so.3
     48    operation of the dynamic library loader.  It's needed to adjust the
     49    command if you are building LFS for a target other than 32-bit or
     50    64-bit x86.</para>
     51
     52<screen><userinput remap="pre">case $LFS_TGT in
     53    i?86*)   ln -sfv ld-linux.so.2 $LFS/lib/ld-lsb.so.3
    5254    ;;
    53     x86_64) ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64
    54             ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3
     55    x86_64*) ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64
     56             ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3
    5557    ;;
    5658esac</userinput></screen>
     
    9092      --host=$LFS_TGT                    \
    9193      --build=$(../scripts/config.guess) \
    92       --enable-kernel=&min-kernel;                \
     94      --enable-kernel=&linux-major-version;.&linux-minor-version;               \
    9395      --with-headers=$LFS/usr/include    \
    9496      libc_cv_slibdir=/usr/lib</userinput></screen>
     
    107109
    108110      <varlistentry>
    109         <term><parameter>--enable-kernel=&min-kernel;</parameter></term>
    110         <listitem>
    111           <para>This tells Glibc to compile the library with support
    112           for &min-kernel; and later Linux kernels.  Workarounds for older
    113           kernels are not enabled.</para>
     111        <term><parameter>--enable-kernel=&linux-major-version;.&linux-minor-version;</parameter></term>
     112        <listitem>
     113          <para>This option tells the build system that this glibc may
     114          be used with kernels as old as
     115          &linux-major-version;.&linux-minor-version;. This means generating
     116          workarounds in case a system call introduced in a later version
     117          cannot be used.</para>
    114118        </listitem>
    115119      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.