12-16-2014, 05:02 PM
I'm building on my RasPi, and I don't need to recompile gcc - I just updated my gcc to 4.8 using regular steps:
Then, of course, it still takes more than an hour to compile MCS from source, but at least it's straightforward.
Code:
sudo apt-get install gcc-4.8 g++-4.8
sudo update-alternatives --remove-all gcc
sudo update-alternatives --remove-all g++
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 20
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50