installing multiple versions of GCC

Todd Kokoszka kokostm@auburn.edu
Sat Jul 13 04:40:00 GMT 2002


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





More information about the Gcc-help mailing list