Login | Register
Login | Register

My pages Projects SunSource.net openCollabNet
OpenSPARC.net >  Cool Tools >  GCC for SPARC® Systems 4.0.4, ATS, BIT, Discover Install
OpenSPARC Cool Tools
GCC for SPARC Systems 4.0.4  
 Get the Free Download

Cool Tools - GCC for SPARC Systems 4.0.4, ATS, BIT, Discover Install

GCC for SPARC® Systems 4.0.4 may be installed on a system by downloading and unpacking the SUNW0gccfss tar ball. With GCC for SPARC Systems version 4.0.4 there is only ONE GCC for SPARC Systems tar ball. This tar ball handles both SolarisTM 9 and Solaris 10 operating systems. Currently, only the Solaris 9 and Solaris 10 operating systems running on SPARC processors are supported by GCC for SPARC Systems.

Successful installation of GCC for SPARC Systems (SUNW0gccfss) requires that the SunTM Code Generator for SPARC Systems (SUNW0scgfss) be installed on the system and is the same release as SUNW0gccfss. The SUNW0scgfss tar ball also includes ATS, BIT, and Discover. The SUNW0scgfss tar ball contains binaries only and is licensed under Sun's SLA. Please read SLA for further details. For convenience, this tar ball is provided on the download site along with the GCC for SPARC Systems tar ball.

The gccfss_src.tar tar ball includes source code and is licensed under GPL.

Downloading and Installing Tar Balls

The GCC for SPARC Systems tar ball (SUNW0gccfss) [Release 4.0.4], as well as the Sun Code Generator for SPARC Systems (SUNW0scgfss) [Release 4.0.4] tar ball, may be obtained from the Sun Download Center.

Once the bzipped tar files containing the packages have been downloaded, the packages may be extracted using the bunzip2 and tar commands. With release 4.0.4 the installation can be in any directory the user desires (and has write permission). Assuming that these files are to be installed in the directory /my/install/dir, download the tar balls in /my/install/dir. The following commands can be used to extract the packages:
    cd /my/install/dir
   /bin/bunzip2 -c SUNW0gccfss.tar.bz2 | /bin/tar xf -
   /bin/bunzip2 -c SUNW0scgfss.tar.bz2 | /bin/tar xf -

>> Get the download here. <<

Where To Install The Binaries

For ease-of-use reasons the binaries from the two tar balls should be installed in the same directory. Installation creates two subdirectories: gcc and SUNW0scgfss in the installation directory.

It is possible to install SUNW0gccfss and SUNW0scgfss in different directories but an environment variable needs to be set so that the back end files can be found. Assume that SUNW0gccfss in installed in /my/install/dir and SUNW0scgfss is installed in /yet/another/dir then the environment variable SUNW_SCGFSS_PATH needs to be set to /yet/another/dir/SUNWOscgfss.

If you have Sun Studio 12 installed on your system then it not necessary to install SUNW0scgfss. If Sun Studio 12 is installed in /opt/SUNWspro then just install SUNW0gccfss as above. If Sun Studio 12 is installed in a different directory, say, /my/somewhereelse , then set the environment variable SUNW_STUDIO_PATH to /my/somewhereelse.

Uninstalling GCCFSS

Since this release does not use packages, uninstalling GCCFSS 4.0.4 is simply the removal of the two directories gcc and SUNW0gccfss in /my/install/dir.