我試圖編譯在OpenSolaris 2009.6問題在OpenSolaris 2009.6編譯GCC 4.4.0
GCC 4.4.0目前在框中(這是AMD 64位機),我已經安裝了GCC 3.4.6。
我解壓gcc 4.4.0 tarball。
我設置以下ENV變量:
export CXX=/usr/local/bin/g++
export CC=/usr/local/bin/gcc
然後我跑了「配置& &化妝」,這是我得到的錯誤信息:
checking for i386-pc-solaris2.11-gcc... /export/home/me/wd/gcc/gcc-4.4.0/host-i386-pc-solaris2.11/gcc/xgcc -B/export/home/me/wd/gcc/gcc-4.4.0/host-i386-pc-solaris2.11/gcc/ -B/usr/local/i386-pc-solaris2.11/bin/ -B/usr/local/i386-pc-solaris2.11/lib/ -isystem /usr/local/i386-pc-solaris2.11/include -isystem /usr/local/i386-pc-solaris2.11/sys-include -m64
checking for suffix of object files... configure: error: in `/export/home/me/wd/gcc/gcc-4.4.0/i386-pc-solaris2.11/amd64/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
任何人有任何建議,以如何解決此錯誤消息?
/編輯:的config.log的 的內容被張貼在這裏:link text
您是否看到config.log? – nik 2009-06-13 14:15:45
你可以在config.log上發佈錯誤的部分嗎? – 2009-06-13 14:19:58