upgrade gcc-c++ 2.96 to 3.2.1
Hi,
When I came across the all-known 'c compiler cannot create executables..." configure error I found out that there was no more c++ compiler support since I updated gcc itself. The logical thing to was to download and install a 3.2.1 gcc-c++ package and to install it. When I tried to do this the following dependency problems were found: libstdc++ = 3.2.1 is needed by gcc-c++-3.2.1-1 ...same for devel package I checked if I could update the libstdc++ package.... but the whole system depends on it so that was out of the question. Now my question is : Is it possible to add c++ compiler support to gcc on a system that was originally installed with all gcc 2.96 packages ? Thanks in advance guys pika |
No it is not possible b/c 2.96 is not concidered a stable gcc release, what you need to upgrade are libstdc++, libgcc, libc, possibly glibc and of course gcc, I don't think it is too much hussle, all is on rpmfind.net
|
Thanks for your quick answer,
I already upgraded the packages you mentioned, except for the libstc++ package. Numerous gnome and kde applications depend on it, which is why I'm not able to upgrade that package. And I don't think '--force' would do any good to my system/core libs :) |
Well a little work around
Code:
ls -l /usr/lib/*stdc* I just remembered that RH ships with gcc-3.x.x which is called awkward gcc3, it should be on your installation CD's, if you haven't installed them yet install it (don't upgrade but install) it will create /usr/bin/gcc3 executable what you need to do is just cp /usr/bin/gcc /usr/bin/gcc296 && ln -sf /usr/bin/gcc3 /usr/bin/gcc |
I love workarounds ;-) , as long as everything keeps working afterwards, I'll give it a try as soon as I get the chance. Thanks for your answer.
|
All times are GMT -5. The time now is 12:04 AM. |