Compiling gcc
I have donloaded the source code of the latest gcc compiler...
How do i compile it and install it? |
Well, assuming you have a previous version of gcc, http://gcc.gnu.org/install/ will tell you how to configure, build, and install a new version.
If you don't have a previous version of gcc you will need to download a binary package from your distributions site. Gcc is a chicken and egg type situation. Gcc needs gcc to be compiled. |
Ok I downloaded the necessary files... made a new directory called objdir and from that directory in the terminal I issued the command...
../configure ../make ../make install after this when I issue the command rpm -qa | grep gcc the output shows the previous installation of gcc... How do I replace the previous version with the new version? |
All times are GMT -5. The time now is 09:22 PM. |