I'm on a FC 3 box using GCC version 3.4.4 20050721 (Red Hat 3.4.4-2). I want to have GCC 2.95.3 at the same time and don't want to disturb the current version of GCC. I downloaded the source, simpily compiled with different --prefix options and built with bootstrap options. But I failed to get it work.
Here are my steps
$ gunzip -dc gcc-everything-2.95.3.gz | tar -xvf -
$ mkdir gcc-2.95.3_obj
$ cd gcc-2.95.3_obj
$ ../gcc-2.95.3/configure --prefix=/usr/local/gcc-2.95.3
$ make bootstrap
$ make install
I checked the GCC Frequently Asked Questions, and wanted to reinstall GCC 2.95.3 with new configuration again.
./configure --host=i686-redhat-linux --build=i686-redhat-linux --enable-multilib
--enable-shared --with-system-zlib --prefix=/usr --enable-threads=posix --program-suffix=-2.95.3
But I'm not sure it is correct for above configurations and make options. I have several questions,
1. Did the first installation altered or modifyed my system? Should I reintall GCC 3.4.4 with RPM package?
2. Could anyone can give me some explanations for above configurations?
3. What is the difference between 'make bootstrap' and 'make' ? Which one should I use?
4. Is there another better way to get gcc 3.4 and 2.95 at the same time without conflic?