LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: qufo

[完成]直播,LFS 6.4 rc1 2nd

[复制链接]
发表于 2008-11-22 08:51:55 | 显示全部楼层
不是直播麽?现在的进展怎样了?
回复 支持 反对

使用道具 举报

发表于 2008-11-22 10:01:00 | 显示全部楼层
Post by newper;1909247
[QUOTE=d00m3d]
补充一下,编译 gmp 必需将任何 CFLAGS 环境变量去掉,否则 configure 会出错

因为gmp自己会根据平台设定march,但这样也造成了一个问题,把p4上做的搬到p2上似乎就不能用了。[/QUOTE]SVN 手册新鲜出炉的更新说明

http://www.linuxfromscratch.org/ ... er01/changelog.html
#2008-11-20
    *      [ken] - Added note to gmp about CFLAGS on 64-bit-capable machines. Reported by Tobias Gasser, thanks to Greg Schafer for the analysis.


http://www.linuxfromscratch.org/ ... /chapter06/gmp.html
6.12.1. Installation of GMP
[Note]
Note

If you have a CPU which is capable of running 64-bit code and you have specified CFLAGS in the environment, the configure script will attempt to configure for 64-bits and fail. Avoid this by adding ABI=32 to the CFLAGS variable for the duration of the configure command below, then remove it afterwards.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-24 10:23:30 | 显示全部楼层
Changelog Entries:

2008-11-23

[ken] - Added note to gmp about CFLAGS on 64-bit-capable machines. Reported by Tobias Gasser, thanks to Greg Schafer for the analysis.



我的是  32-bit 的 cpu ,所以没事。


直播不了啦,后来我用 livecd 直接进去编译的,没有网络,没有输入法。

汗,到此结束。成功完成。
回复 支持 反对

使用道具 举报

发表于 2008-12-1 11:25:38 | 显示全部楼层
Post by newper;1909247
因为gmp自己会根据平台设定march,但这样也造成了一个问题,把p4上做的搬到p2上似乎就不能用了。



很奇怪的是我用CC=gcc -m32 编译的时候,它会将我的平台设置为pentiumpro,但是我的cpu是p4的呀,而且CC=gcc -m64设置的平台也是p4的。
回复 支持 反对

使用道具 举报

发表于 2008-12-1 11:40:01 | 显示全部楼层
我在第三次gcc的时候,继续不下去了。。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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