On Dec 16, 2012, at 8:46 AM, Michael E. Maher wrote:

‘--enable-kernel=version’
   This option is currently only useful on GNU/Linux systems. The
version parameter should have the form X.Y.Z and describes the smallest
version of the Linux kernel the generated library is expected to
support. The higher the version number is, the less compatibility code
is added, and the faster the code gets.

And reduces the size of the built glibc. You want to set the version to the the oldest kernel version you may ever use, even when using a livecd or distro to chroot to it. The version set in the book covers most of the latest distros. Just be careful setting it too the current kernel version unless you know for sure your host or any livecd or distro you use for recovery or administrative tasks via chroot will run the resulting glibc of the LFS build.

Many people, when building LFS, will use the latest kernel version headers and enable the kernel version to the current version as they know what they are doing. If unsure, can't go wrong using what the book uses for that parameter.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to