分页: 1 / 1

关于怎么编译内核详解

发表于 : 2007-08-26 16:36
liuhuics
http://blog.zhaoke.com/7.html
不是本人的
我觉得些的很好 对初学者很实用
建议去看看

发表于 : 2007-08-26 18:51
relaaxx
yes,good!thankyou

发表于 : 2007-08-26 19:10
xhy
那个帖子介绍的方法不是很好
ln -s linux-2.6.18.1 linux 是很有争议的做法 可能会引起一些问题

文章介绍的内核编译方式只能用于基于Debian的系统上 换个别的发行版就不行了

建议阅读内核的README文档 照文档办事

代码: 全选

内核的官方README中这样说

   Do NOT use the /usr/src/linux area! This area has a (usually
   incomplete) set of kernel headers that are used by the library header
   files.  They should match the library, and not get messed up by
   whatever the kernel-du-jour happens to be. 

发表于 : 2007-08-27 18:39
liuhuics
[谢谢楼上的指正

还是要提高英语水平
呵呵
再次感谢

发表于 : 2007-08-27 20:41
leeyee
前两天翻看了下Greg的linux kernel in a nutshell,他是建议将源码解压在用户盘里的,在/usr/src里编译会对当前使用的内核的连接库或者模块造成影响.

其实记住一点就行了,最后install的时候再变root