Solaris Package Archive -- GNUgcc.184.108.40.206
Solaris Package Archive
What is it
GNUgcc is the C compiler from the Free Software Foundation. It compiles C and C++
source files, and when merged with g77 it will compile Fortran 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.
The compilers are gcc for normal
C compiling and g++ for C++ compiling.
If you install this package you should not also install GNUg77. GNUgcc and GNUg77
are mutually exclusive packages, they should not be on the same machine together.
The reason is that GNUgcc contains the C and C++ compilers, and GNUg77 contains
the C, C++ and Fortran F77 compilers. If you don't want to compile Fortran, use
GNUgcc. If you want to compile Fortran, only use GNUg77.
If you've goofed and put them both on, pkgrm
GNUgcc GNUg77 and then pkgadd
the one you want.
This version of GNUgcc is being made available for stability reasons. Some people
find that GNUgcc 2.8.1 won't build some tools, e.g. Mozilla, whilst the 2.7.2.x
releases will. Wether this is an issue with Mozilla or GNUgcc 2.8.1 has yet to
Send email to firstname.lastname@example.org
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
Click here to read about the Solaris 7 packages.
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.
See the main packages README for installation information.