1) compile a workable kernel
2) reduce one option by one. read Configure.help carefully. ask question if u can not understand them.
3) adjust compiler option. there is a good post on that.
4) measure u improvement.
完成,提示说:
System is too big,Try using bzImage or modules
make(1):***zImage error 1
make(1):Leaving directory '/usr/src/linux-2.4.20-8/arch/i386/boot'
make:*** zImage error 2
[quote:47b7eef2ad="nifi"]我把/usr/src下的linux-2.4.0目录重新复制了一份,还是放在src下,命名为linux-2.4.0-030825,然后在这里边进行编译可以吗?现在正在执行make zImage,不过心里还是不踏实。
另外想问问,make xconfige的时候,在不影响正常应用的前提下,应该是选择Y的越少,编译出来的内核就会小点,此内核占用的内存也会有所减少,不知道是不是这样的。
配置的时候有太多太多的选项不明白什么意思,看help也是一头雾水,只敢改了几个自己比较有把握的,唉,听天由命吧。
GOD BLESS ME!!![/quote]
u had better download one kernel from www.kernel.org. if u copy that dir to a new dir. do make distclean before u do anything.
use make bzImage
choose what u need everyday Y; choose what u need sometime as M, other N.
choose some to N and see what happens, if u do not know what it means, post it here.
[quote:9bdcb382dd="nifi"]完成,提示说:
System is too big,Try using bzImage or modules
make(1):***zImage error 1
make(1):Leaving directory '/usr/src/linux-2.4.20-8/arch/i386/boot'
make:*** zImage error 2
难道是有错误了?该怎么办呢?[/quote]
use make bzImage instead of make zImage
I use make zImage and zsrec only for embedded systems