Sun Studio Downloads » Sun Studio 10 Downloads
en

Sun Studio 10 Downloads

Sun Studio 10 Compilers and Tools for OpenSolaris Developers!

Sun Studio Compilers Download Alternatives

This option is an easy installation of the tools, patches, and product license you need to build OpenSolaris. However, no package information is recorded, hence 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.

Update Notice for Option 1 (Install image of Sun Studio) - September 24, 2005
If you previously downloaded the install image of Sun Studio for OpenSolaris prior to September 24, 2005, you must download and use the updated version, using the download link above, in order to build future versions of OpenSolaris.
If you downloaded the install image on, or after, September 24, 2005, no action is required as the software already contains the necessary updates.

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
# bzcat //DOWNLOAD-DIRECTORY///sunstudio10-ii-//DATE//-//PLATFORM//.tar.bz2 | /bin/tar -xf -

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


This option provides you with the complete Sun Studio 10 product, including Sun's Advanced Mathematics Performance Library, optional J2SE package, and patches needed to both build OpenSolaris and create performant applications that run on OpenSolaris and Solaris.

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.

Update Notice for Option 2 (Product Packages of Sun Studio) - September 24, 2005
If you previously downloaded the Product Packages of Sun Studio for OpenSolaris prior to September 24, 2005, you must download and install these required patches, in order to build future versions of OpenSolaris.
 To install these patches, follow steps 1, 2 and the patchadd command from step 4 below.
If you downloaded the Product Packages version on, or after, September 24, 2005, no action is required as the software already contains the necessary updates.

Step 1

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

- Unpack the software archive with the command:

% bzcat //DOWNLOAD-DIRECTORY///FILENAME-//DATE//-//PLATFORM//.tar.bz2 | /bin/tar -xf -

Step 2

- Login as super-user or root

% su

Step 3

- Invoke installer:

# ./installer

- After you accept the license, the answers for the installer should be:

  • Locale Selection — use the default
  • Select Components — use the default
  • Name of directory: — use the default (should be /opt)
  • Serial #: Enter a "new serial #" using the license-key provided in your Download Center Sun Studio Welcome email.

For detailed installation information, see: Installation and Setup Guide for Solaris Platforms.

Step 4

Install the Sun Studio 10 patches included in the download, required to build OpenSolaris:

# cd patches
# patchadd -M . patchlist

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

You are now ready to use the Sun Studio tools to build OpenSolaris. In addition, if you want to use the IDE, your JDKHOME shell variable should be set to a J2SDK 1.4.2xx directory (e.g., /usr/j2sdk1.4.207) and your PATH shell variable should include the J2SDK bin directory (e.g., /usr/j2sdk1.4.207/bin).

To run the IDE, type at the prompt:

% sunstudio


Licensing information

  • Sun Studio 10 software includes some third-party technologies governed by the licenses included in the THIRD PARTY LICENSE README subject to the binary code license.
Tags:
Created by admin on 2009/10/26 12:11
Last modified by admin on 2009/10/26 12:11

XWiki Enterprise 2.7.1.34853 - Documentation