我想编译一个能在奔二级以上CPU通用的2.4.21内核,“Processor type and features”选“Pentium-Pro/Celeron/Pentium-II”可以吗?这样能在K6上正常运行吗?Pentium-III、Pentium-4、K7呢?如果想保持通用又想有尽可能好的性能,应该使用什么样的CFLAGS? -O2 -fomit-frame-pointer -falign-functions=4可以吗?请各位不吝赐教。谢谢!!!
if u choose pii, it can runs on p2, p3, p4.
i think u need to choose k6, k7 in order to run on k6, k7.
of course u can choose pentium or 486, but that is not what u want, right?
-O2 -fomit-frame-pointer is good, i am not sure about -falign-functions=4. i remeber there is a post on this, can u search?
u need not to change the dir name.
u need to change the EXTRAVERSION
and u need to 1) save u .config file somewhere 2) make mrproper or make distclean 3) restore u .config file. 4) compile again.