大家编译的2.5.70的内核有多大???
我是编译单一内核的,第一次在rh9下编译的内核竟然有2.0M,第二次我又去掉了一些东西,重新编译后还有1.9M
我在debian30r1下编译的最不也有1.7M
怎么都这么大啊???
虽然大了点,但程序打开和开机速度快多了 我想是由于developer版本,有很多调试信息导致的吧。 yes, it is a little big. but i am not sure if this is because debug info. i donot think so. i tried just now. deselect all kernel hack options can reduce only 100k. 你认为是什么导致内核比较大呢?象FreeBSD,如果添加新功能,相应的功能块有自己的debug选项,不知道linux的debug选项是不是集中在hack options里的。 most are in kernel hack options. but for debug print out, are in individual modules. 是呀,我想把这些debug print去掉后,应该会小很多的... yes. and i believe these DEBUG switch are off by default. They are only useful when authors debug their code. 那你说和gcc的优化参数有没有关系呀? not too much. O2 and O3 will change some. march also changes some. but no much. of course -g is a different story. it can enlarge kernel size 2-3 times
页:
[1]