upgrading to 3.2.2
Steven Bosscher
s.bosscher@student.tudelft.nl
Tue Mar 11 19:16:00 GMT 2003
Op di 11-03-2003, om 18:23 schreef leigh@smart.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
More information about the Gcc-help
mailing list