SunFreeware.com の gcc パッケージを使う.
まず libiconv のインストール.
$ gunzip libiconv-1.9.2-sol10-sparc-local.gz # pkgadd -d libiconv-1.9.2-sol10-sparc-local
次いで gcc のインストール
$ gunzip gcc-3.3.2-sol10-sparc-local.gz # pkgadd -d gcc-3.3.2-sol10-sparc-local
http://www.sunfreeware.com/ の gcc の部分にかかれている 注意事項を実行する.
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.
# cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/ # vi mkheaders.conf
一行目に
SHELL=/bin/sh
を追加する.
# ./mkheaders