OpenSolaris

You are not signed in. Sign in or register.

Sun Studio 12 Compilers and Tools for OpenSolaris Developers!

Starting with ON Build 100 in October 2008, you must use the Sun Studio 12 compiler with the patches listed below to build OpenSolaris.

For earlier builds, see Sun Studio 11 Downloads.

Sun Studio Compilers + Patches - Oct 2008 download

  • Download install image of Sun Studio 12 software with patches for building OpenSolaris, starting with ON Build 100.

This download provides an easy installation of the tools, patches, and product license you need to build OpenSolaris. However, no package information is recorded, so you cannot apply additional patches to this image.

The download is provided by the Sun Download center. If you have not used the Sun Download Center before, you will be required to complete a one-time registration to create a username and password. Once you have a registered, you can download any software offered via the Sun Download Center.

IMPORTANT NOTE BEFORE YOU INSTALL Sun Studio 12:

To compile ON, the compiler you want to use must be in /opt (that is, the path to the compilers must be /opt/SUNWspro/bin). If /opt already contains a previously installed version of Sun Studio software, then to compile ON with a different version, you must:

  • Move the previously installed version of Sun Studio to another directory, or remove it altogether. If the previous version was installed as an "Installable Image" (or tarball archive), then you can just move it to a new directory, such as /opt/SunStudio10/ or delete it. If the product was installed as Solaris packages, you will need to uninstall it.
  • Then either install Sun Studio 12 directly into /opt/ (the default location),

    OR

  • Install Sun Studio 12 into the /opt/SunStudio12/ directory, then create symbolic links from /opt/SUNWspro to /opt/SunStudio12/SUNWspro.

INSTRUCTIONS FOR INSTALLING SUN STUDIO 12:

Step 1

- Download file into a scratch download directory, such as /var/tmp.

Step 2

- Unpack the archive into the /opt directory with the commands:

# cd /opt

# /usr/bin/gzcat DOWNLOAD-DIRECTORY/sunstudio12-ii-DATE-PLATFORM.tar.gz| /bin/tar -xf -

See Setup instructions below on how to set up your environment after installation is complete.


    Setup

    After completing one of the above options, you should update your PATH and MANPATH shell variables to the installation and documentation directories or modify your home directory's .cshrc file (for C shell) or .profile file (for Bourne or Korn shells) to make these changes permanent.

    If you use csh:
    % setenv PATH [installpath]/bin:$PATH
    % setenv MANPATH [installpath]/man:$MANPATH
    
    If you use sh (or ksh): % PATH=[installpath]/bin:$PATH ; export PATH % MANPATH=[installpath]/man:$MANPATH ; export MANPATH
    Replace [installpath] with the pathname where you installed the tools. To build OpenSolaris, the install path should be the default:
    /opt/SUNWspro
    Note: If you have moved a previously installed version of Sun Studio to another directory, you will also need to update your PATH and MANPATH shell variables for that new directory.

    You are now ready to use the Sun Studio tools to build OpenSolaris.

    IDE: The installed image download does not include NetBeans, so you cannot use the IDE.

    Licensing information