CMT Developer Tools for SunTM Studio 12 - ATS, BIT, Discover and SPOT
ATS, BIT, Discover, and SPOT may be installed on a system by downloading and installing
the packages stored in the SPROcmt tar file.
NOTE:
If you are using the
SunTM Studio 11 Compilers and Tools,
please follow the steps on
Add-on Cool Tools for Sun Studio 11 to download and install.
Downloading the Packages
The tar file (SPROcmt) may be obtained from the Sun Download Center for either the
SPARC version or the
x64 version.
There are two packages, SPROprfns and SPROcool, in the SPROcmt tar file.
Once the tar file containing the packages has been downloaded, the packages
may be extracted using the tar command.
Assuming that the file has been downloaded to the directory
<my_download_dir>,
the following commands can be used to extract the packages:
cd <my_download_dir>
/bin/tar -xvf SPROcmt.<platform>.tar
where <platform> is either SPARCV9 or X64.
Installing the Packages
Once the packages have been extracted, install them using the
pkgadd command.
The pkgadd command must be executed as root.
The following instructions assume that the packages have
been downloaded and extracted into the directory
<my_download_dir>.
These packages must be installed alongside a previously installed Sun Studio 12 package. The
following instructions assume that the Sun Studio 12 package has been installed in
its default location (/opt/SUNWspro).
To install the SPROprfns and SPROcool packages, execute the
following command:
pkgadd -d <my_download_dir> SPROprfns SPROcool
This will install ats, bit, discover, 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 12 tools are installed in another location, say
<root_dir>/opt/SUNWspro/bin,
by using the
-R <root_dir> option in the
pkgadd command,
then use the same
-R <root_dir> option in the
pkgadd command
when installing SPROprfns and SPROcool.
In this case, the tools in the SPROprfns and SPROcool
packages are installed in
<root_dir>/opt/SUNWspro/extra/bin.
If the Sun Studio 12 tools are installed with a different base directory, say
/opt/Studio12/SUNWspro/bin,
then use the option
-a none
in the pkgadd command.
When you are prompted for the <base_dir>,
enter /opt/Studio12.
The tools in the SPROprfns and SPROcool packages will be installed in
/opt/Studio12/SUNWspro/extra/bin.
NOTE:
The SPROprfns and SPROcool packages must be installed in the same base and root
directory as the Sun Studio 12 package.
Uninstalling the Packages
The packages can be uninstalled via the
pkgrm command. The
pkgrm command must
be executed as root also.
To remove the SPROprfns and SPROcool packages from the root directory,
execute the following command:
pkgrm SPROprfns SPROcool
This will remove the tools in the SPROprfns and SPROcool packages 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 these packages prior to
installing newer versions.
|