打印

gcc可以pentium4-pc-linux-gcc 么?

gcc可以pentium4-pc-linux-gcc 么?

现在是 i686-pc-linux-gnu-gcc 。

不知道能不能变成 pentium4-pc-linux-gnu-gcc ??
编译出的程序有没有性能提升?
如果可以,怎么弄?
不想要 ID 了请找我。

TOP

[quote:feedcf6339="jiangtao9999"]现在是 i686-pc-linux-gnu-gcc 。

不知道能不能变成 pentium4-pc-linux-gnu-gcc ??
编译出的程序有没有性能提升?
如果可以,怎么弄?[/quote]
不行,CHOST别去动它。
http://www.gentoo.org/doc/en/han ... mp;chap=5#doc_chap5
I'm hopelessly romantic!

TOP

这个名字表明的是什么意思?
arm 的交叉编译就叫 arm-linux-gnu-gcc。
那么 pentium4-pc-linux-gnu 是不是就是专门 pentium4 的编译器?

在我自己机器上用,我不需要兼容其他的 CPU 。
我要最具针对性的编译。
不想要 ID 了请找我。

TOP

The CHOST variable declares the target build host for your system. This variable should already be set to the correct value.  Do not edit it as that might break your system. If the CHOST variable does not look correct to you, you might be using the wrong stage3 tarball.
I'm hopelessly romantic!

TOP

问题是:我就是想改他……………………
不想要 ID 了请找我。

TOP

[quote:6580587dab="jiangtao9999"]...

在我自己机器上用,我不需要兼容其他的 CPU 。
我要最具针对性的编译。[/quote]
这个用-march来指定。
I'm hopelessly romantic!

TOP

用 -march 感觉不爽………………
不想要 ID 了请找我。

TOP

[quote:329398ef68="jiangtao9999"]用 -march 感觉不爽………………
[/quote]
那你就试试吧,系统崩了不要掉眼泪!
I'm hopelessly romantic!

TOP

查gcc的手册,应该没有吧,估计也没什么用
有多少爱可以再来?再来收费!

TOP

JT 快试试,试成功了,我也改。前些天装系统,看着它老觉的很不爽
我们痛苦所以幽默,我们幽默所以快乐 一只黑猫,非狐狸 负积分 ------------------------- 左三步,右三步;左三步,右三步... sorrow under smile

TOP

pentiumpro到pentium4统统视为686了吧

TOP

pc一直向下兼容,万一他有自己的体系呢?

TOP


pentium4 = i786 ?????

checking build system type... i786-pc-linux-gnu
checking host system type... i786-pc-linux-gnu
checking target system type... i786-pc-linux-gnu
不想要 ID 了请找我。

TOP

楼上咋弄出来的?

TOP

就改了 CHOST ,之后重新 emerge gcc 的时候,configure 的过程就这么显示的。
但因为太晚了,就没有等 gcc 编译完成就 ^C 了。
所以效果不清楚。
不想要 ID 了请找我。

TOP