This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How do I use 2 versions of gcc on the same system?
- To: <gcc at gcc dot gnu dot org>
- Subject: How do I use 2 versions of gcc on the same system?
- From: "Luke Mauldin" <lukeskyfly at txk dot net>
- Date: Mon, 16 Jul 2001 21:19:00 -0500
Hello, I have downloaded both the gcc 3.0 branch and I have checked out a
copy of the gcc 3.1 branch from the CVS. I have gcc 3.0 installed in /usr
and I want to test gcc 3.1 but I still want to keep my copy of gcc 3.0
installed in /usr. My question is this...how do I install both gcc 3.0 and
gcc 3.1 on the same system? Do I just need to install gcc 3.1 in a
different location such as /opt/gcc31 and then when I want to use gcc 3.1 do
/opt/gcc31/bin/gcc or what do I need to do?
Luke