This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
installing multiple versions of GCC
- From: Todd Kokoszka <kokostm at auburn dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 13 Jul 2002 11:26:17 +0200
- Subject: installing multiple versions of GCC
Hi,
I wanted to know what is the best way to install multiple versions of gcc.
By default, I have gcc 2.95.3 on my FreeBSD 4.5 system.
I'd like to install gcc 3.0.4. I've gone through all the steps to install
it but I put it in a different directory /usr/local/gcc-3.0.4 because I
wasn't sure what the installer would do with the older version.
What should I do now?
1. Let the installer just install everything like it wants -- will that
keep the older versions?
2. Copy the current files to their appropriate places. Does this mean to
the same directory -- I could do a different directory than the older
versions. If the same directory, what do I do with the older versions?
3. Some other alternative that I don't know.
I've looked through the info docs, etc but haven't found something that
explains how to install two compilers.
Thanks for any help.
Todd