YMLib Systems Librarian

一些設定的記錄

我的相片
名稱:
位置: WuGu, Taipei, Taiwan

我是個大光頭,因我的頭型適合這一型。I have a perfect head style.

星期四, 9月 07, 2006

在x86的solaris 10中gcc編譯的問題

在x86的solaris 10中gcc編譯的問題,
總會有錯誤訊息,只要照著:
http://www.sunfreeware.com/sol10rightintel10.html
中gcc相關的訊息就解決。

Note that this version of gcc was created on build 60 of Solaris 10. If you are using a higher version, you will need to redo some of the header files. This is done by doing the following steps:

cd /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/install-tools/

Put the line SHELL=/bin/sh on the first line of the mkheaders.conf
file. Then run

./mkheaders

This will correct some files and make the build 60 gcc usable on
higher builds. I have tested this on build 72 and it works fine.