Linux: min gcc version is 4.8.1

PX4 will not build with gcc-4.6.

If you are running Ubuntu 12.04 still (you poor old sod) follow the directions at

http://ubuntuhandbook.org/index.php/2013/08/install-gcc-4-8-via-ppa-in-ubuntu-12-04-13-04/

to install gcc-4.8.1

Alternatively you can install clang 3.4.1 for Ubuntu 12.04 from

http://llvm.org/releases/3.4.1/clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04.tar.xz

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-03-16 20:25:39 -07:00
parent 2feeecdab1
commit 11e971eaa0
+2 -2
View File
@@ -62,7 +62,7 @@ CLANGVER=
endif
endif
USE_GCC=1
#USE_GCC=1
ifeq ($(USE_GCC),1)
# GCC Options:
@@ -71,7 +71,7 @@ CXX = g++
CPP = gcc -E
# GCC Version
DEV_VER_SUPPORTED = 4.6 4.8.2 4.9.1
DEV_VER_SUPPORTED = 4.8.1 4.8.2 4.9.1
else
# Clang options