[問題] gcc 編譯安裝
在編譯 gcc-4.5.2 的過程中,出現下列錯誤訊息
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc... /usr1/wzlu/download/gcc/gccobj/./gcc/xgcc -B/usr1/wzlu/download/gcc/gccobj/./gcc/ -B/usr1/wzlu/gcc/x86_64-unknown-linux-gnu/bin/ -B/usr1/wzlu/gcc/x86_64-unknown-linux-gnu/lib/ -isystem /usr1/wzlu/gcc/x86_64-unknown-linux-gnu/include -isystem /usr1/wzlu/gcc/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/usr1/wzlu/download/gcc/gccobj/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/usr1/wzlu/download/gcc/gccobj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/usr1/wzlu/download/gcc/gccobj'
make: *** [all] Error 2
依照說明文件的指示 另開一個新目錄進行編譯
而不在 source code 的目錄中編譯 應該就能避免出現上面的錯誤
但依照指示做了 仍出現上述的錯誤
請問 還有其他建議嘛 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.109.227.28
→
02/25 23:21, , 1F
02/25 23:21, 1F
→
02/25 23:23, , 2F
02/25 23:23, 2F
→
02/26 12:11, , 3F
02/26 12:11, 3F