+ -
当前位置:首页 → 问答吧 → 更换内核新版本,内核的API Headers 是要不要也更新?要是更新的话对整个系统有什么具体的影响?

更换内核新版本,内核的API Headers 是要不要也更新?要是更新的话对整个系统有什么具体的影响?

时间:2007-12-23

来源:互联网

以下是从lfs 6.3中引出来的:

6.7.1. Installation of Linux API Headers
The Linux kernel needs to expose an Application Programming Interface (API) for the system's C library (Glibc in LFS) to utilize. This is done by way of sanitizing various C header files that are shipped in the Linux kernel source tarball.

不知道换下内核版本后这些文件是否也要换?

作者: jqq850226   发布时间: 2007-12-23

没必要,引自 LFS 手册编译内核的部份,http://www.linuxfromscratch.org/lfs/...08/kernel.html
引用:
Warning

The headers in the system's include directory should always be the ones against which Glibc was compiled, that is, the sanitised headers from this Linux kernel tarball. Therefore, they should never be replaced by either the raw kernel headers or any other kernel sanitized headers.
系统里的 kernel headers 应该是你编译 glibc 时所用的净化过的 headers

作者: d00m3d   发布时间: 2007-12-23

大版本升级需要换~

作者: shooter   发布时间: 2007-12-24

大版本是指?

作者: d00m3d   发布时间: 2007-12-25