How can I upgrade the GCC compiler for SuSe 8.2 ?
Several folks have reported problems during compilation of lyx-1.3.2 LaTeX editor
using default gcc compiler found on SuSE 8.2 - Please read the following instructions and
update your default gcc compiler to latest version: 3.3.1-0
SuSE 8.2 ships with a pre-release of gcc 3.3 therefore all users are urged to upgrade
to gcc-3.3.1-0 from: ftp://ftp.suse.com/pub/projects/gcc/8.2
From orginal README file:
"SuSE Linux 8.2 shipped with a prerelease version of GCC 3.3. Now that
GCC 3.3.1 has been officially released ( see the [1]official
announcement at http://gcc.gnu.org/gcc-3.3.1/), we now also provide
packages for SuSE Linux 8.2."
Procedure 1. To install the new gcc packages
-
Download all rpm files under one empty directory
-
Upgrade all gcc packages by running:
# rpm -Uhv *.rpm
-
Check and make sure you have correct installed the new gcc package
# rpm -qa | grep gcc
You should see something like:
gcc-c++-3.3.1-0
gcc-java-3.3.1-0
gcc-g77-3.3.1-0
libgcc-3.3.1-0
gcc-info-3.3.1-0
gcc-3.3.1-0
gcc-objc-3.3.1-0
-
Check what gcc compiler you are using by running:
$ which gcc
You should see:
/usr/bin/gcc
As well check the version from:
$ gcc -v
You should see:
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.1/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada
--enable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++
--with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit
i586-suse-linux Thread model: posix
gcc version 3.3.1 (SuSE Linux)
If people need to use the old version of gcc please download gcc_old-2.95.3-92.i586.rpm from:
ftp://ftp.suse.com/pub/projects/gcc