From 11e971eaa09d3a1aabe6fe70e28a5a64f9002931 Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Mon, 16 Mar 2015 20:25:39 -0700 Subject: [PATCH] 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 --- makefiles/toolchain_native.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefiles/toolchain_native.mk b/makefiles/toolchain_native.mk index 0d26d95de6..db51d7d7d8 100644 --- a/makefiles/toolchain_native.mk +++ b/makefiles/toolchain_native.mk @@ -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