Sun Studio 12 Compilers and Tools for the OpenSolaris Common Build Environment (CBE) - Sept 2009

Starting with ON Build 124, you must build ON using the Sun Studio 12 compilers and patches for the September 2009 version of the OpenSolaris Common Build Environment (CBE).

 For building ON Builds 100 through 123, use Sun Studio 12 compilers and patches for the October 2008 CBE.

 For building earlier builds, see Sun Studio 11 Downloads.

For information on Sun Studio software for development of applications on OpenSolaris, please see Sun Studio on OpenSolaris.

Sun Studio 12 Compilers + Patches for the OpenSolaris CBE

  • Sep 2009 download of Sun Studio 12 software with patches for building OpenSolaris, starting with ON Build 124.
  • Oct 2008 download of Sun Studio 12 software with patches for building OpenSolaris, builds 100 to 123.

The downloads above provide an easy installation of the compilers, tools and patches you need to build OpenSolaris. However, no package information is recorded, so you cannot apply additional patches to the 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 delete it.
  • Then either install Sun Studio 12 directly into /opt/,
    OR
  • Install Sun Studio 12 into a new directory, such as 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 compressed tar archive into the /opt directory with the commands:

# cd /opt
# mkdir SUNWspro
# cd SUNWspro

For Sep 2009 download:

# /usr/bin/bzcat DOWNLOAD-DIRECTORY/sunstudio12-patched-ii-DATE-PLATFORM.tar.bz2| /bin/tar -xf -

For Oct 2008 download:

# /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

last modified by richlowe on 2009/11/21 20:32
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.