LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 953|回复: 1

lfs6.3.r.2145编译完glibc后的change tool chain发现问题

[复制链接]
发表于 2008-6-28 14:44:50 | 显示全部楼层 |阅读模式
gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' > `dirname $(gcc -print-libgcc-file-name)`/specs

得到如下的结果:
gcc: unrecognized option '-mtune=pentinumpro'

请问是哪里出错了
发表于 2008-6-29 12:16:30 | 显示全部楼层
Post by bigbug55;1868621
gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' > `dirname $(gcc -print-libgcc-file-name)`/specs

得到如下的结果:
gcc: unrecognized option '-mtune=penti[color="Red"]numpro'

请问是哪里出错了
pentinumpro???

By the way,新版 LFS 手册里建议编译 glibc 用 "CFLAGS += -march=i486 -mtune=native"

See:
http://www.linuxfromscratch.org/ ... hapter05/glibc.html
http://www.linuxfromscratch.org/ ... hapter06/glibc.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表