0
環境:
CPU:XEON NEHALEM E5530
OS:SUSE 10 SP2
GCC:4.1.2爲什麼在gcc中禁用共享4.7使用gmp mpfr mpc進行本地編譯?
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配置--enable-共享--disable靜電。 在ppl的配置幫助中未列出配置ppl中的參數。