|
|
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.
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:
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:
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.
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.
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.
© 2012, Oracle Corporation and/or its affiliates.