I am reading an article on raspberry pi on a local magazine and they do this
sudo apr-get install gcc-4.8 g++-4.8
sudo rm -rf /usr/bin/gcc
sudo rm -rf /usr/bin/g++
sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc
sudo ln -s /usr/bin/g++-4.8 /usr/bin/g++
I understand that here they are replacing the default gcc and g++ with a recently installed 4.8 version
What version of gcc does the raspberry pi 2 and 3 come with originally?
(The above commands are not required on a rasp pi 1 or zero-- wonder why?)