LinuxSir.cn,穿越时空的Linuxsir!

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

编译2.4.xx的内核是不是需要比较旧的gcc?

[复制链接]
发表于 2005-9-2 10:27:07 | 显示全部楼层 |阅读模式
不能太新也不能太旧,但在哪2个版本范围内呢?
另一问,一个系统中能安装2个不同版本的gcc么?
发表于 2005-9-2 14:59:59 | 显示全部楼层
你把内核源代码包解开后里面有一个说明文件
说明了它需要什么版本的gcc
回复 支持 反对

使用道具 举报

发表于 2005-9-2 16:03:16 | 显示全部楼层
只要装到不同的目录,两个 gcc 应该没有问题吧。不过切换起来麻烦一点。
回复 支持 反对

使用道具 举报

发表于 2005-9-2 19:12:29 | 显示全部楼层
Post by junalbert
不能太新也不能太旧,但在哪2个版本范围内呢?
gcc-4.0.x will not work, don't waste your time. Although gcc-3.3 may work, according to the kernel developers, (as describe in the kernel doc), they recommend to use gcc-2.95.x to compile 2.4.x kernel.  Never use the most lousy and buggy gcc-2.96 as supplied in several version of RedHat and MDK.
另一问,一个系统中能安装2个不同版本的gcc么?
Yes, you can. Do a "搜索", you can find the instructions.
回复 支持 反对

使用道具 举报

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

本版积分规则

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