|
发表于 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. |
|