2012-04-01 6 views
0

的環境:
CPU:XEONのNEHALEMのE5530
OS:SUSE 10 SP2
GCC:4.1.2なぜgcc 4.7でdisable-sharedを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 

しかし、明示的にgccのが、サブディレクトリ内のconfig.logのを確認して、システムによって追加無効に共有4.7のconfigure --enable-共有--disable-静的。 pplの設定パラメータは、pplの設定ヘルプには表示されません。

答えて

0

しかし、明示的にgccのが、サブディレクトリ内のconfig.logのを確認して、システムによって追加無効に共有4.7のconfigure --enable-共有

gcc builds in several stages

--disable-静的。初期段階では、 --disable-sharedスイッチを使用します。

関連する問題