实验室刚买了SUNblade2000,自带操作系统solaris8,没有买任何软件,想在上面运行c++ ,请问如何安装gcc? 有没有简易的方法,或者什么网页介绍的step by step 方法? 多谢!
c*j
2 楼
1. download the gcc package (sunfreeware.com) 2. verify the package 3. remove the old gcc if you have, better to keep the orig. package (pkgrm) 4. unzip your download file (gunzip) 5. install the package (pkgadd -d gcc-xxx-solaris-local) 6 export your PATH to include /usr/local/bin you are ready to use gcc. run "crle" if neccessary for runtime linking env.