My gcc compiler is a bit outdated - gcc 4.3, so I want to build a new gcc from source since I ran apt-get update, but there were no pre-built version available yet. Has anyone experienced this process before?
Thanks,
Chan
feedback
|
|
Install new version of GMP, MPFR, MPC from sources:
| |||
feedback
|
|
You're going to want to download the source packages. You can get the from http://gcc.gnu.org/releases.html Next you're going to want to install the package
Next you're going to want to extract the source package to its own directory:
Then you're going to want to compile it, usually the process is as follows:
However, if you omit the last part you can still run the program by calling it directly, while keeping your currently installed version of gcc for normal use. | |||
|
feedback
|
|
I followed these steps from GNU website and got gcc installed perfectly: http://gcc.gnu.org/install/prerequisites.html Basically, you will need to install
and other libraries mentioned can be found under Synaptic Package Manager. That's all | |||
|
feedback
|