Solaris Package Archive -- GNUgcc.2.95.2

Solaris Package Archive


Mark <>

What is it
GNUgcc is the C compiler from the Free Software Foundation. It compiles C and C++ source files, and also Fortran 77, CHILL, Java and Objective C programs. Since Solaris does not ship with a usable C compiler, (it's a pay-for feature), having gcc on your system is almost essential for any type of development work.

Also, this version of GNUgcc ships with an integrated libstdc++. There is no requirement to install another package to support C++ compiling.

The compilers are gcc for normal C compiling and g++ for C++ compiling.

Email To
Send email to

Solaris Issues
GNUgcc is compiled on, and specifically for, the release of Solaris specified in the package name. It is very bad practice to attempt to use a compiler on one Solaris release when it was compiled for another. This is because the compiler is hardwired to use the specific O.S. release header files, and running it on another release will almost certainly fail.

Because of this I have provided a number of GNUgcc packages for all versions of Solaris I have access to, and all types of architectures I have access to. If the latest and greatest compiler release isn't offered, simply use the most recent one for your platform.

Click here to read about the Solaris 7 packages.

Source Code
You can download the source code from For those who are inclined to be clumsy, this source code link is NOT the package you should install, go back to the main index and select the binary release for your computer and Solaris release.

Special Issues
See the main packages README for installation information.