Changes in chapter05/glibc.xml [0f18f2b:b9fe11d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/glibc.xml
r0f18f2b rb9fe11d 46 46 <para>First, create a symbolic link for LSB compliance. Additionally, 47 47 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 52 54 ;; 53 x86_64 ) ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib6454 ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.355 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 55 57 ;; 56 58 esac</userinput></screen> … … 90 92 --host=$LFS_TGT \ 91 93 --build=$(../scripts/config.guess) \ 92 --enable-kernel=& min-kernel;\94 --enable-kernel=&linux-major-version;.&linux-minor-version; \ 93 95 --with-headers=$LFS/usr/include \ 94 96 libc_cv_slibdir=/usr/lib</userinput></screen> … … 107 109 108 110 <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> 114 118 </listitem> 115 119 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.