Solaris under GCC installation

Source: Internet
Author: User
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

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.