The Solaris GCC installation

Source: Internet
Author: User
1 Viewing the Sun OS versionuname-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 GCC1. Download gcc-3.4.6-sol8-sparc-local.gz 2 to www.sunfreeware.com.     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/l Ocal/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 Installing the LIBINTL library1. Download libintl-3.4.0-sol8-sparc-local.gz 2 from www.sunfreeware.com.     Gunzip libintl-3.4.0-sol8-sparc-local.gz 3. Pkgadd–d libintl-3.4.0-sol8-sparc-local.gz finished found gcc-v error: Ld.so.1:gcc:fatal:libiconv.so.2:open failed:no such file or directory, then to install the Libiconv library 4 Installing the Libiconv library1. Download libiconv-1.11-sol8-sparc-local.gz 2 from http://www.sunfreeware.com.     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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.