Changeset cb518e0
- Timestamp:
- 02/26/2022 04:01:39 PM (2 years ago)
- Branches:
- xry111/clfs-ng
- Children:
- 7d7f246
- Parents:
- 1ea79fd
- git-author:
- Xi Ruoyao <xry111@…> (02/19/2022 04:25:04 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (02/26/2022 04:01:39 PM)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/hostreqs.xml
r1ea79fd rcb518e0 71 71 <listitem> 72 72 <para><emphasis role="strong">Gzip-1.3.12</emphasis></para> 73 </listitem>74 75 <listitem>76 <para><emphasis role="strong">Linux Kernel-&min-kernel;</emphasis></para>77 78 <para>The reason for the kernel version requirement is that we specify79 that version when building <application>glibc</application> in80 <xref linkend="chapter-cross-tools"/> and81 <xref linkend="chapter-building-system"/>,82 at the recommendation of the developers. It is also required by83 udev.</para>84 85 <para>If the host kernel is earlier than &min-kernel; you will need to replace86 the kernel with a more up to date version. There are two ways87 you can go about this. First, see if your Linux vendor provides a &min-kernel;88 or later kernel package. If so, you may wish to install it. If your89 vendor doesn't offer an acceptable kernel package, or you would prefer not to90 install it, you can compile a kernel yourself. Instructions for91 compiling the kernel and configuring the boot loader (assuming the host92 uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>93 94 73 </listitem> 95 74 -
chapter05/glibc.xml
r1ea79fd rcb518e0 92 92 --host=$LFS_TGT \ 93 93 --build=$(../scripts/config.guess) \ 94 --enable-kernel=& min-kernel;\94 --enable-kernel=&linux-major-version;.&linux-minor-version; \ 95 95 --with-headers=$LFS/usr/include \ 96 96 libc_cv_slibdir=/usr/lib</userinput></screen> … … 109 109 110 110 <varlistentry> 111 <term><parameter>--enable-kernel=&min-kernel;</parameter></term> 112 <listitem> 113 <para>This tells Glibc to compile the library with support 114 for &min-kernel; and later Linux kernels. Workarounds for older 115 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> 116 118 </listitem> 117 119 </varlistentry> -
chapter08/glibc.xml
r1ea79fd rcb518e0 73 73 <screen><userinput remap="configure">../configure --prefix=/usr \ 74 74 --disable-werror \ 75 --enable-kernel=& min-kernel;\75 --enable-kernel=&linux-major-version;.&linux-minor-version; \ 76 76 --enable-stack-protector=strong \ 77 77 --with-headers=/usr/include \ … … 90 90 91 91 <varlistentry> 92 <term><parameter>--enable-kernel=& min-kernel;</parameter></term>92 <term><parameter>--enable-kernel=&linux-major-version;.&linux-minor-version;</parameter></term> 93 93 <listitem> 94 94 <para>This option tells the build system that this glibc may 95 be used with kernels as old as &min-kernel;. This means generating 95 be used with kernels as old as 96 &linux-major-version;.&linux-minor-version;. This means generating 96 97 workarounds in case a system call introduced in a later version 97 98 cannot be used.</para>
Note:
See TracChangeset
for help on using the changeset viewer.