[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multiple versions of gcc installed



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 6 Oct 2004, Brendan Simon wrote:

I have 2 debian powerpc machines with testing and stable installed.
gcc-2.95.4 is installed on stable and gcc-3.3.4 on testing.
I want to compile with the same compiler on both so I installed gcc-2.95 on the testing machine.
i.e. I have 3.3.4 and 2.95.4 installed simulataneously.


A better option I found when having two version of gcc is this.
When two version are installed, gcc is a symbolic link to one of it.
So whenever you need to switch between the versions, simply change the
symbolic link to the specific compiler. That should work, atleast for
me on x86. :-)

rrs
- -- Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
Gnupg Key ID: 04F130BC
"Stealing logic from one person is plagiarism, stealing from many is research".
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFBY7Vk4Rhi6gTxMLwRAj+XAJwIIP9t+TBbhBX0C/tHS19AcuMRdgCfRToe
0GwPwIBvskzM+EHZO3tc9nQ=
=L69G
-----END PGP SIGNATURE-----



Reply to: