This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to downgrade gcc 3.4.3 to 3.2.3
Please don't top-post.
Madhura Upadhya writes:
> Andrew Haley wrote:
> > Madhura Upadhya writes:
> >
> > > RH 4 got installed with 3.4.3 gcc compiler. Oracle 10gR2 Native
> > > compilation requires gcc 3.2.3 version. So, tried all manuals/forums and
> > > couldnt get the answer. Is there any supported way of downgrading from
> > > 3.4.3 to 3.2.3 ?
> >
> > It's never a good idea to ovwerwrite the system compiler, but there's
> > nothing at all to stop you from installing another version of gcc in a
> > different location.
> >
> Thanks Andrew. I have a follow up question.
>
> Is it possible to have 2 differnt versions and is it possible to change
> the gcc compiler dynamically ?
Sure, just install two versions of gcc and use a bunch of symlinks (or
set PATH) accordingly. I don't see why you'd need anything
gcc-specific to do this.
Andrew.