[opensuse] Downgrading gcc
![](https://seccdn.libravatar.org/avatar/900aaac2f1739a4feba4f63f974fca76.jpg?s=120&d=mm&r=g)
Hi guys, I'd like to know if there's a way to downgrade gcc from 4.1 to 3.X. I mean a manageable way, in the sense that I need not compile a new gcc and remove the old one by hand. thankx for the help! -- Donato Azevedo GNU/Linux enthusiast -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/01c89a192daffd8a68ed4c0c3a20dc2f.jpg?s=120&d=mm&r=g)
It depends wat version of gcc you want. Generally, is not a good idea to downgrade the compiler because the binaries from your system are compiled with the gcc that comes with the system. So, if you downgrade the gcc you could experience problems with the compatibility with current binaries. First, you have to interest that binaries built with gcc 4.1 are comaptible with binaries built with gcc 3.x. More about that you can find at www.gentoo.org or gentoo official forum. On Wednesday 28 February 2007 01:18:36 pm Donato Azevedo wrote:
Hi guys, I'd like to know if there's a way to downgrade gcc from 4.1 to 3.X.
I mean a manageable way, in the sense that I need not compile a new gcc and remove the old one by hand.
thankx for the help! -- Donato Azevedo GNU/Linux enthusiast
-- Best Regards, Adrian Vraciu -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/22947ab22ceab046d7aa4544209c8e76.jpg?s=120&d=mm&r=g)
|-----Original Message----- |From: Adrian Vraciu |It depends wat version of gcc you want. Generally, is not a |good idea to downgrade the compiler because the binaries from |your system are compiled with the gcc that comes with the |system. So, if you downgrade the gcc you could experience |problems with the compatibility with current binaries. |First, you have to interest that binaries built with gcc 4.1 |are comaptible with binaries built with gcc 3.x. More about |that you can find at www.gentoo.org or gentoo official forum. | |On Wednesday 28 February 2007 01:18:36 pm Donato Azevedo wrote: |> Hi guys, |> I'd like to know if there's a way to downgrade gcc from 4.1 to 3.X. |> |> I mean a manageable way, in the sense that I need not compile a new |> gcc and remove the old one by hand. |> You can use environment modules: http://www-theor.ch.cam.ac.uk/IT/software/modules.html Install separate instances of the software under /opt and play with the environment variables like PATH, LD_LIBRARY_PATH etc. I went through the same process back during the Redhat RH2.1 to RH3 transisiton. glibc3.3 where not compatible with glibc3.2 so we used modules to manage to run expensive HPC software not yet released/compiled for RH3. -- MortenB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2007-02-28 at 08:18 -0300, Donato Azevedo wrote:
Hi guys, I'd like to know if there's a way to downgrade gcc from 4.1 to 3.X.
I mean a manageable way, in the sense that I need not compile a new gcc and remove the old one by hand.
Don't even think on replacing gcc! Rather, get a new one on a different path and library set (some libraries are not compatible, esp. ++ binary format). Search the archive: the subject comes now and then. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFF5XXutTMYHG2NR9URAjapAJ9SvIz5/C2rHTBakKM2ogJX8MpBVwCgkDW4 H81ha6yH52n53kb1unGk7ps= =HX5k -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Adrian Vraciu
-
Carlos E. R.
-
Donato Azevedo
-
Morten Bjørnsvik