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

Git Clone URL: https://aur.archlinux.org/arm-none-eabi-gcc49-linaro.git (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: https://releases.linaro.org/
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 (35)

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@

 pkgname=arm-none-eabi-gcc49-linaro
 _relver=4.9
-_relshortdate=16.02
+_relshortdate=17.01
 _reldate=20${_relshortdate}
 _relverdate=${_relver}-${_reldate}
 # This is how I want to define the pkgver, but the AUR doesn't understand it, because multiple _ characters are not allowed
 #pkgver=${_relver}_${_reldate//-/_}
-pkgver=4.9_2016.02
+pkgver=4.9_2017.01
 pkgrel=1
 _newlibver=linaro-2.2.0-2015.01
 _newlibvershort=15.01
@@ -30,22 +30,14 @@ source=(http://releases.linaro.org/components/toolchain/gcc-linaro/${_relverdate
 _basedir=gcc-linaro-${_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}

-hortdate=14.09
-_reldate=20${_relshortdate}
-
-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:

-sha256sums=('63bd38c028fec87a85eff1f3728b9e8f9a7070346ab337a57963c413da4859a2'
+sha256sums=('69ebd158dbaf73b54a2f89b046643ef8502a24df78c740ad9dc30f94acbe2ce0'
             'd29fe53d70f545c2fb080b9686e05d0f8af5088fec9b7dc78bc788a98765ef99'
             'b328e9cdca4e2869490d932191b78ef1a61c60382cea3a23d1ef86e7c1fb86a7'
             '104b9aa652804a56338470983e6975af1d1e5440eb8bddae3a01a966d2b332cf'

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

@jhalfmoon

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 http://releases.linaro.org/archive/15.01/components/toolchain/newlib-linaro/newlib-linaro-2.2.0-2015.01.tar.xz

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,"blinker-f4.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