mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:17:39 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user