OpenSolaris 安装gcc不能用 也不能编译mysql
OpenSolaris 版本10
安装完系统后 /usr/sfw/src 下面什么都没有
按照 pkgadd -d 方式安装了gcc ,libintl, libiconv 到/usr/local下面
export了PATH,LD_LIBRARY_PATH,CC
ls /usr/local/bin/gcc
/usr/local/bin/gcc
gcc -v
-bash: /usr/local/bin/gcc: Invalid argument
可是编译mysql的时候仍然报错
checking for C compiler default output file name... configure: error: C