i can't remember how you are supposed to do it, but
you can compile gcc 2.95.3 or whatever and install
it in /opt or something, or /usr/local/ if you want.
make backups of gcc, g++, and c++ in case the new
compiler over writes them. then make a little script to
do your switch job.