troubleshooting Question

gcc 3.4 and 2.95 at the same time?

Avatar of Jerryleo
Jerryleo asked on
Linux OS Dev
2 Comments1 Solution414 ViewsLast Modified:
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

make bootstrap

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?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros