LST

ERCO

CSI ]   [ ETH ]

Comments ]

LST Home ]   [ LST People ] [ LST Research ]   [ LST Teaching ] [ ERCO ]

GCC 2.96

This page provides a quick guide on how to install gcc 2.96 on a non-RedHat platform

Motivation

From release 7.0 RedHat included a non-official version of GCC in their distribution. Although we do not approve RedHat behaviour we started to used it due to the better support of Java along with several fixes.

ERCO does not function properly with earlier (2.95) releases due to the bugs in the gcj libraries and the limitations of the classpath libraries. GCC 3.x is not yet supported.

For these reasons if you have a different Linux distribution you will need to compile and install and additional version of the GCC compiler.

How To Get It

Since the release is not official almost no other distribution provides a binary package. You will need to download the heavily patched RedHat sources and compile it on your machine.

Since this version is not definitve and the compilation process on a GCC 3.x machine is quite tricky we provide a simple script to perform the whole process.

Instructions

Unpack the source tarball

tar xfz gcc-2.96-20000731.tar.gz
		      

Change the current directory to the gcc source tree

cd gcc-2.96-20000731
		      

Adapt the script changing the number of CPUs you have and the installation path.

In this execute the compile script

./compile.sh
		      

You can now install it with

make install