This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How do I use 2 versions of gcc on the same system?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]