Solaris 10: how to build and install GCC 4

The GCC (or GNU Compiler Collection) is a free and multi-platform compiler system used as a development tool for software written in several programming languages.

In this post we will see how to install gcc on a solaris operating system, taking into account all the pre-requisites and configuration parameters strictly required, so as to elaborate a procedure suitable for both sparc and x86 platforms.

Hence, in the following paragraphs I will not go deeper into details regarding how GCC works or how it can be customized by the final user. If you need any further explanation you can read the official documentation here.

Continue reading