参考:http://stackoverflow.com/questions/4664472/installing-gcc-on-oracle-solaris-11
pkg search gcc: 得到很多vim版本信息
pkg install gcc-45: 安装gcc-4.5版本