12-26-2015, 05:42 AM
Just got a fancy new pi 2. I know that gcc-4.8 and g++-4.8 are needed in orger to compile correctly, so i ran
which should fulfill the requirements. However, running the compilation script tells me that i need to install gcc and g++. Installing those allows me to continue to cloning repos and compiling causes compilation to fail at about 12%, probably because apt-get install gcc installs 4.6.3, not 4.8. I then removed gcc-4.6 and g++-4.6 and created aliases from gcc-4.8 to gcc and g++-4.8 to g++. After starting a new session, gcc --version returns
But the script still says that I need to install gcc and g++ again. Any way to fix this or do I need to just use a precompiled build?
Code:
sudo apt-get install g++-4.8 gcc-4.8 clang git cmake make
Quote:gcc-4.8 (Raspbian 4.8.2-21~rpi3rpi1) 4.8.2
Copyright © 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
But the script still says that I need to install gcc and g++ again. Any way to fix this or do I need to just use a precompiled build?