Login | Register
Login | Register

My pages Projects SunSource.net openCollabNet
OpenSPARC.net >  Cool Tools >  SunTM Studio 11 Add-on ATS, BIT, and SPOT Install
OpenSPARC Cool Tools
Studio 11 Add-on ATS, BIT, and SPOT  
 Get the Free Download

Cool Tools - SunTM Studio 11 Add-on ATS, BIT, and SPOT Install

ATS, BIT, and SPOT for SunTM Studio 11 may be installed on a system by downloading and installing the SPROprfns package.

Downloading the Package

This package (SPROprfns) may be obtained from the Sun Download Center.

Once the gzipped tar file containing the package has been downloaded, the package may be extracted using the gzip command. Assuming that the file has been downloaded to the directory <my_download_dir>, the following commands can be used to extract the package:
    cd <my_download_dir>
   /bin/gzip -dc SPROprfns.SPARCV9.tar.gz | tar xvf -

Installing the Package

Once the package has been extracted, install it using the pkgadd command. The pkgadd command must be executed as root. The following instructions assume that the package has been downloaded and extracted into the directory <my_download_dir>. This package must be installed alongside a previously installed Sun Studio 11 package. The following instructions assume that the Sun Studio 11 package has been installed in its default location (/opt/SUNWspro).

To install the SPROprfns package, execute the following command:

    pkgadd -d <my_download_dir> SPROprfns

This will install ats, bit, and spot in /opt/SUNWspro/extra/bin. The man pages for the tools can be found in /opt/SUNWspro/extra/man.

To invoke the tools, the user can add the directory /opt/SUNWspro/extra/bin to their PATH environment variable and invoke the tools by their simple names, or directly invoke the tools using the full pathname, for example, /opt/SUNWspro/extra/bin/spot.

If the Sun Studio 11 tools are installed in another location, say <root_dir>/opt/SUNWspro/bin, use the option -R <root_dir> in the pkgadd command. In this case, the tools in the SPROprfns package are installed in <root_dir>/opt/SUNWspro/extra/bin.

Sometimes the Sun Studio 11 tools are installed with a different base directory. Say the Sun Studio 11 tools are in /opt/Studio11/SUNWspro/bin, then use the option -a none in the pkgadd command. When you are prompted for the <base_dir>, you can enter /opt/Studio11. The tools in the SPROprfns package will be installed in /opt/Studio11/SUNWspro/extra/bin.


NOTE:
The SPROprfns package must be installed in the same base directory as the Sun Studio 11 package.

Uninstalling the Package

The package can be uninstalled via the pkgrm command. The pkgrm command must be executed as root also.

To remove the SPROprfns package from the root directory, execute the following command:

    pkgrm SPROprfns

This will remove the tools in the SPROprfns package from the directory /opt/SUNWspro/extra/bin.

Use the option -R <root_dir> in the pkgrm command, to remove the tools from <root_dir>/opt/SUNWspro/extra/bin.


NOTE:
Be sure to uninstall any existing installation of this package prior to installing newer versions.