As I read the issue so far, you probably have some problem other than your
compiler; gcc 2.96 is reputed to compile just fine, it's just that the result
might not link up properly with the outputs of other compilers in the same
series, older or newer, if the source code was in C++.
That said, yes, you can replace your compiler, you can also install multiple
compilers on the same system, but if you really are a newbie you'll want to
tread lightly, always give yourself a back-out option. A system with a broken
compiler is no fun.
There are probably several ways to go about this, but what I'd do is:
0. Go to rpmfind.net and grab the compiler of your choice, in package form.
1. Install like so:
rpm -Uvh --oldpackage gcc-WHATEVER.rpm
2. Compile something. Test.
If that works, HOORAY!
3. (optional, depending on who you talk to) Go to the gcc source mirror site
of your choice and download the version you prefer, possibly the same version
you just installed in package form. Configure, compile, and install that.
BIG CAVEAT:
>From what some people have been saying, there is a chance that the output
of your preferred gcc might have compatibility problems with the output of
Red Hat's gcc, and presumably that is the compiler that was used to generate
most of the object code on your current system. Some clarification on that
issue would be nice, especially for those of us who are still waiting to
try 7.0.
If you have more than one system, you'll probably want to conduct all the
shenannigans above on your "test" box. If you do that, it would be interesting
to see if binaries compiled on the test box will link and run on the non-test
box.
-m
On Tue, Oct 10, 2000 at 02:39:56AM +0000, Kevin Holmquist wrote:
> Hi all;
>
> Please forgive a newbie question, but can you remove GCC 2.96 and install
> GCC 2.95.2 (current release) instead?
>
> I checked on Redhat's site but didn't find any fixes. Any response from
> Redhat? I have several programs I'm trying to install on 7.0 but they won't
> compile.
>
> Thanks!
>
> Kevin
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
--
Michael Jinks, IB
Systems Administrator, CCCP
finger [EMAIL PROTECTED] for public key
Vote Duke! http://www.entertaindom.com/pages/duke2000/home.jsp
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list