Re: x86 Debian 下的 gcc 默认生成的目标文件究竟是 i486 还是 i686 ?

2012-03-11 文章 chengshiding
我始终认为,debian为了让以前的老电脑也能运行debian,故debian默认生成的是 i386或i486的内核。 于 2012年03月11日 07:16, Plain_Text 写道:   前几天列表里讨论了相关问题,我做了一个这样的试验。 $ gcc -c main.c -o main.o $ gcc -march=i486 -c main.c -o main_i486.o $ gcc -march=i686 -c main.c -o main_i686.o $ diff main.o main_i486.o Binary files main.o and main_48

Re: 请教debian下如何重新编译内核为i686

2012-03-08 文章 chengshiding
哦 于 2012年03月08日 14:27, Aron Xu 写道: 2012/3/8 chengshiding: 即使是i686的,但是要是要支持其他cpu构架的,那么性能肯定会有折扣的,能不 能编译为只支持i686的? 你自己都体验一下就知道影响微不足道,指令集影响比较大的还是多媒体程序。 -- To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Conta

Re: 请教debian下如何重新编译内核为i686

2012-03-07 文章 chengshiding
即使是i686的,但是要是要支持其他cpu构架的,那么性能肯定会有折扣的,能不 能编译为只支持i686的? 于 2012年03月08日 09:50, Deng Xiyue 写道: 2012/3/7 YunQiang Su: 内核默认是686, 提供其它各种内核。 可以查看 Debian 软件包(stable 为例): http://packages.debian.org/squeeze/linux-image-2.6-686 大部分应用程序是 i486 2012/3/7 Aron Xu: 2012/3/7 chengshiding: 于 2012年03月07日

Re: 请教debian下如何重新编译内核为i686

2012-03-07 文章 chengshiding
于 2012年03月07日 20:28, Aron Xu 写道: 2012/3/6 chengshid: debian默认的编译内核为i386,对于现代的cpu来说,性能有不少的折扣。问如何 重新编译内核为i686平台的? THX! -- To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian

Re: 请教debian下如何重新编译内核为i686

2012-03-07 文章 chengshiding
于 2012年03月07日 20:28, Aron Xu 写道: 2012/3/6 chengshid: debian默认的编译内核为i386,对于现代的cpu来说,性能有不少的折扣。问如何 重新编译内核为i686平台的? THX! -- To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian

Re: 折腾了大半年GENTOO,最后还是回归DEBIAN.

2012-03-05 文章 chengshiding
编译为那种平台等那些那还不是定义在.config文件里面。gcc还有优化参数的。 于 2012年03月06日 13:14, wolf python london 写道: 2012/3/6 chengshid: .config里面不就是定义了怎么优化编译内核的参数嘛,怎么和.config没关系呢。。 我感觉大多的*优化*指的是精简内核,把不需要的功能(比如蓝牙支持)去掉,不需要的模块(比如不需要的网卡驱动)去掉, 甚至于把网卡驱动之间编译进内核,根本不需要编译成模块。至于initrd,就没有必要使用了,它还是拖慢了系统启动。 于 2012年03月06日 09:57, Deng Xi

Re: 答复: 折腾了大半年GENTOO,最后还是回归DEBIAN.

2012-03-05 文章 chengshiding
你去试试archlinux,人家的包管理和软件源一点不比Debian逊色。只是更新地快 了点。不过,没出现什么问题过。 选择Debian是因为它最符合GNU 于 2012年03月05日 23:18, 吴斌斌 写道: chengshid: 为什么这么说?软件包管理器不就是为了让一切变的简单才存在的嘛? Debian的最大优势也是APT庞大的软件库,不是吗? 在 2012年3月5日 下午6:40,chengshid >写 道: debian其实不简单, 至少比archlinux复杂的多! 于 2012年03月05