Technorati Tags: Solaris, gcc
Solaris under GCC installation 1 view Sun OS version
uname-a command to view the system version. Know is SunOS 5.8.
SunOS 5.8 is called Solaris 8
SunOS 5.9 is called Solaris 9, then there is no 5.x, to the Solaris 10 ... 2 Installing GCC
1. Download to www.sunfreeware.com gcc-3.4.6-sol8-sparc-local.gz
2. Gunzip gcc-3.4.6-sol8-sparc-local.gz
3. Pkgadd–d Gunzip gcc-3.4.6-sol8-sparc-local
4. Manually set the root environment variable, add path, Ld_library_pat
Export path= $PATH:/usr/local/bin
Export ld_library_path=$ Ld_library_path:/usr/local/lib
Found Gcc-v error: Ld.so.1:gcc:fatal:libintl.so.3:open failed:no such file or directory, then to install LIBINTL Library 3 installation libintl Library
1. Download libintl-3.4.0-sol8-sparc-local.gz from www.sunfreeware.com
2. Gunzip libintl-3.4.0-sol8-sparc-local.gz
3. Pkgadd–d libintl-3.4.0-sol8-sparc-local.gz
Found Gcc-v error: Ld.so.1:gcc:fatal:libiconv.so.2:open failed:no such file or directory, then to install Libiconv Library 4 Installation Libiconv Library /c0>
1. Download libiconv-1.11-sol8-sparc-local.gz from http://www.sunfreeware.com
2. Gunzip libiconv-1.11-sol8-sparc-local.gz
3. Pkgadd–d libiconv-1.11-sol8-sparc-local.gz
After installation Gcc-v finally no more error