Package Details: arm-none-eabi-gcc49-linaro 4.9_2016.02-1

Git Clone URL: (read-only, click to copy)
Package Base: arm-none-eabi-gcc49-linaro
Description: The GNU Compiler Collection - cross compiler for ARM EABI (bare-metal) target.
Upstream URL:
Licenses: GPL, LGPL
Groups: arm-none-eabi-toolchain
Conflicts: arm-none-eabi-gcc, cross-arm-none-eabi-gcc
Provides: arm-none-eabi-gcc
Submitter: jhalfmoon
Maintainer: None
Last Packager: jhalfmoon
Votes: 2
Popularity: 0.000000
First Submitted: 2014-10-10 20:52 (UTC)
Last Updated: 2016-12-24 21:47 (UTC)

Required by (34)

Sources (5)

Latest Comments

jonathon commented on 2020-12-12 12:45 (UTC)

git diff for 2017.01:

diff --git a/PKGBUILD b/PKGBUILD
old mode 100755
new mode 100644
index b3cbb7b..744db5a
@@ -2,12 +2,12 @@

 # This is how I want to define the pkgver, but the AUR doesn't understand it, because multiple _ characters are not allowed
@@ -30,22 +30,14 @@ source=(${_relverdate

 build() {
-  cd ${srcdir}
-  mv ${srcdir}/newlib-${_newlibver}/newlib   ${_basedir}
-  mv ${srcdir}/newlib-${_newlibver}/libgloss ${_basedir}
+  mv newlib-${_newlibver}/newlib   ${_basedir}
+  mv newlib-${_newlibver}/libgloss ${_basedir}

-cd ${srcdir}/${_basedir}
-  patch -Np0 -i "${srcdir}/gcc-${_relver}-multilib2.patch"
-  patch -Np0 -i "${srcdir}/gcc-${_relver}-no-exceptions.patch"
-  patch -Np0 -i "${srcdir}/gcc-4.9-fix-build-with-gcc-6.patch"
+  cd ${_basedir}

   mkdir build
   cd build

-#               --build=${CHOST} \
   export CFLAGS="-O2"
   export CXXFLAGS="-O2"
   unset CPPFLAGS
@@ -85,7 +77,7 @@ package() {

 # vim: set ts=2 sw=2 ft=sh et:


alaskanarcher commented on 2018-03-03 06:23 (UTC)


I just wanted to say thank you for maintaining this package. It saves my butt when I have to compile an older fork of u-boot from source -- which is more often than I'd like, but it is made possible by this package as it only builds with gcc4.9.

alaskanarcher commented on 2016-12-24 00:00 (UTC)

The source link for newlib-linaro-2.2.0-2015.tar.xz is broken. It has moved to

jhalfmoon commented on 2016-05-30 09:21 (UTC)

@kyb Thank you for the feedback. FWIW: I updated this package yesterday and created a new one for Linaro GCC 5.3 . Both packages built without error, but no testing was done to verify their working.

kyb commented on 2016-03-16 12:26 (UTC) (edited on 2016-03-16 12:27 (UTC) by kyb)

Solved by disabling newlib-nano. No `--specs=nano.specs`. Solved but I need libnano! How to compile with it.

kyb commented on 2016-03-12 10:27 (UTC)

I have met an error while compiling stm32-f4 example project with GNU ARM Eclipse plugins. Cannot find the stdlib. How can I provide it. arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Wall -Wextra -g3 -T mem.ld -T libs.ld -T sections.ld -nostartfiles -Xlinker --gc-sections -L"../ldscripts" -L/home/kyb/devel/workspace.emb/newlib-linaro-2.1.0-2014.09/newlib -Wl,-Map,"" --specs=nano.specs -o "blinker-f4.elf" ./system/src/stm32f4-hal/stm32f4xx_hal.o ./system/src/stm32f4-hal/stm32f4xx_hal_cortex.o ./system/src/stm32f4-hal/stm32f4xx_hal_flash.o ./system/src/stm32f4-hal/stm32f4xx_hal_gpio.o ./system/src/stm32f4-hal/stm32f4xx_hal_iwdg.o ./system/src/stm32f4-hal/stm32f4xx_hal_pwr.o ./system/src/stm32f4-hal/stm32f4xx_hal_rcc.o ./system/src/newlib/_cxx.o ./system/src/newlib/_exit.o ./system/src/newlib/_sbrk.o ./system/src/newlib/_startup.o ./system/src/newlib/_syscalls.o ./system/src/newlib/assert.o ./system/src/diag/Trace.o ./system/src/diag/trace_impl.o ./system/src/cortexm/_initialize_hardware.o ./system/src/cortexm/_reset_hardware.o ./system/src/cortexm/exception_handlers.o ./system/src/cmsis/system_stm32f4xx.o ./system/src/cmsis/vectors_stm32f407xx.o ./src/BlinkLed.o ./src/Timer.o ./src/_initialize_hardware.o ./src/_write.o ./src/main.o ./src/stm32f4xx_hal_msp.o /usr/lib/gcc/arm-none-eabi/4.9.2/../../../../arm-none-eabi/bin/ld: cannot find -lstdc++_nano /usr/lib/gcc/arm-none-eabi/4.9.2/../../../../arm-none-eabi/bin/ld: cannot find -lg_nano /usr/lib/gcc/arm-none-eabi/4.9.2/../../../../arm-none-eabi/bin/ld: cannot find -lc_nano