环境:
cpu: E5530
os: SUSE 10 SP2
gcc: 4.1.2
m4,binutils,autoconf,automake:最新版gcc 4.7版。
PATH/LD_LIBRARY_PATH设置正确。
对象: gcc php httpd的本机优化。
with -march=nocona -O2 -pipe -fomit-frame-pointer
gcc 4.1.2 gmp,mpfr,mpc OK
gcc 4.1.2 gcc4.7 with gmp,mpfr,mpc OK
with -march=native -O2 -pipe -fomit-frame-pointer
gcc 4.7 gmp,mpfr,mpc OK
gcc 4.7 gcc4.7 with gmp,mpfr,mpc OK
newest built gcc 4.7
gcc 4.7 ppl,cloog OK
gcc 4.7 build source tree together with gmp,mpfr,mpc,ppl,cloog
error in configure ppl because not found gmp library.
gcc 4.7 build source tree for native compile together with gmp,mpfr,mpc without ppl and cloog OK但是系统通过检查子目录中的config.log添加了禁用共享,尽管gcc 4.7明确地配置-启用-共享-禁用-静态。ppl中的配置参数没有在ppl的配置帮助中列出。
发布于 2012-04-25 08:28:21
但是系统通过检查子目录中的config.log添加了禁用共享,尽管gcc 4.7明确地配置-启用-共享-禁用-静态
gcc分几个阶段建设。早期阶段不考虑使用--disable-shared开关。
https://stackoverflow.com/questions/9961808
复制相似问题