LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 974|回复: 3

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

[复制链接]
发表于 2007-12-22 22:35:56 | 显示全部楼层 |阅读模式
以下是从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.

不知道换下内核版本后这些文件是否也要换?
发表于 2007-12-23 07:35:48 | 显示全部楼层
没必要,引自 LFS 手册编译内核的部份,http://www.linuxfromscratch.org/ ... apter08/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
回复 支持 反对

使用道具 举报

发表于 2007-12-24 11:09:26 | 显示全部楼层
大版本升级需要换~
回复 支持 反对

使用道具 举报

发表于 2007-12-25 18:03:47 | 显示全部楼层
大版本是指?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表