This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: upgrading to 3.2.2
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: leigh at smart dot net
- Cc: gcc-help at gcc dot gnu dot org
- Date: 11 Mar 2003 18:53:55 +0100
- Subject: Re: upgrading to 3.2.2
- References: <3E6DD555.31565.581F820@localhost>
Op di 11-03-2003, om 18:23 schreef leigh at smart dot net:
> You state in the documentation (at different places) that 1) you
> don't support 'make uninstall' and 2) that you strongly recommend
> against installing a new build in a directory with a previous
> version.
>
> Since gcc resides in /usr/bin (under SuSE), how am I supposed to
> cleanly upgrade from 3.2 (in the original distribution) to 3.2.2?
>
First of all, this is not a bug, so you could have used the gcc-help
mailing list instead :-)
The way to upgrade your compiler would be to get an rpm from SuSE, your
distribution vendor. Depending on which version you have, you may or
may not be able to find such a package. Just look in their ftp archive.
If your SuSE Linux system compiler is gcc 2.95.x then be aware that the
GCC 3.0 and 3.1 C++ ABI is different from the 2.95, and that the GCC 3.2
C++ ABI is different from 3.1... Two different ABIs usually don't go
together well.
If you can't find an rpm for your SuSE version, you can build your own
GCC, and put it somewhere in a different directory. That is what I
always do (on SuSE 72.), I usually build it with "--prefix=/opt/gcc/".
You may want to (that is: should) read "http://gcc.gnu.org/install/"
before you build your own GCC.
Hope this helps,
Greetz
Steven