Installation of gcc
Install gcc by running the following commands:
export CC=cc &&
unset CFLAGS &&
unset CXXFLAGS &&
export PATH_HOLD=$PATH &&
export PATH=/usr/src/gnat/bin:$PATH &&
mkdir ../gcc-build &&
cd ../gcc-build &&
../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
--enable-languages=c,c++,objc,f77,ada,java --enable-threads=posix \
--with-slibdir=/lib --enable-__cxa_atexit --enable-clocale=gnu &&
cd ../gcc-&gcc-version;/gcc/ada &&
touch treeprs.ads [es]info.h nmake.ad[bs] &&
cd /usr/src/gcc-build &&
make bootstrap &&
cd gcc &&
make gnatlib_and_tools &&
cd .. &&
make install-no-fixedincludes &&
export PATH=$PATH_HOLD