From: Nathael Pajani Date: Fri, 27 Feb 2015 09:19:31 +0000 (+0100) Subject: Use arm-none-eabi- compilation toolchain for embeded micro-controllers. No need of... X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=18fb450ce6a5b7d6907dd5b3055fdb45f4db7d06;p=soft%2Flpc122x%2Fcore Use arm-none-eabi- compilation toolchain for embeded micro-controllers. No need of a GNU C library for Linux targets, these are not linux targets. arm-none-eabi- compilation toolchain is now in Debian GNU/Linux SID arm-none-eabi- is also the most common toolchain name for embedded ARM targets --- diff --git a/Makefile b/Makefile index 009719c..4331d04 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ LPC = lpc1224 CPU = cortex-m0 ARCH = armv6-m -CROSS_COMPILE ?= arm-linux-gnueabi- +CROSS_COMPILE ?= arm-none-eabi- CC = $(CROSS_COMPILE)gcc FOPTS = -fno-builtin -ffunction-sections -fdata-sections -ffreestanding CFLAGS = -Wall -O2 -mthumb -mcpu=$(CPU) $(FOPTS)