I am using Ubuntu 14.04 LTS. I want to install latest version of GCC 4.9.0. Is it possible to uninstall default GCC compiler prepacked with OS?
In this link, I read that uninstalling the default compiler may lead to stability issues Since I am planning to install the latest version, will that cause stability issue?
And another problem is that in the official GNU GCC page, I read that GCC supports compiling of c++ programs. But I couldn't compile a program using gcc. So, I used g++. By using g++ instead of GCC, It gave an error stating that g++ is not installed. Wouldn't Ubuntu come along with g++ or is there any other config to use g++ with GCC?
sudo apt-get install g++
will install g++ 4.8.