Package Details: gcc-arm-none-eabi-bin 11.2_2022.02-1

Git Clone URL: https://aur.archlinux.org/gcc-arm-none-eabi-bin.git (read-only, click to copy)
Package Base: gcc-arm-none-eabi-bin
Description: GNU Tools ARM Embedded Processors (binary distribution, includes newlib, does NOT include GDB)
Upstream URL: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads
Licenses: custom
Conflicts: arm-none-eabi-binutils, arm-none-eabi-gcc, arm-none-eabi-newlib, gcc-arm-none-eabi
Provides: arm-none-eabi-binutils, arm-none-eabi-gcc, arm-none-eabi-newlib, gcc-arm-none-eabi
Submitter: 2bluesc
Maintainer: pftBest
Last Packager: pftBest
Votes: 26
Popularity: 0.025993
First Submitted: 2015-08-13 14:42 (UTC)
Last Updated: 2022-03-26 09:01 (UTC)

Required by (109)

Sources (2)

Latest Comments

pftBest commented on 2022-02-04 21:28 (UTC)

Due to the version format change upstream, I had to modify the package version from 10.3_2021.10 to 10_2021_10 to prevent it from being marked as downgrade.

pftBest commented on 2021-05-07 23:15 (UTC)

@cbc02009 Done, thanks!

cbc02009 commented on 2021-05-07 22:59 (UTC)

Would it be possible to add aarch64 sources to this?

# Original Maintainer: James Duley <jagduley gmail>
# Previous Maintainer: 2bluesc <2bluesc gmail.com>
# Maintainer: Vadzim Dambrouski <pftbest gmail.com>
pkgname=gcc-arm-none-eabi-bin
pkgver=10_2020_q4_major
pkgrel=1
pkgdesc="GNU Tools ARM Embedded Processors (binary distribution, includes newlib, does NOT include GDB)"
arch=('aarch64','x86_64')
depends=('glibc')
optdepends=(
      'arm-none-eabi-gdb: GNU Debugger for ARM EABI'
    )
provides=('gcc-arm-none-eabi'
      'arm-none-eabi-gcc'
      'arm-none-eabi-binutils'
      'arm-none-eabi-newlib'
    )
conflicts=('gcc-arm-none-eabi'
      'arm-none-eabi-gcc'
      'arm-none-eabi-binutils'
      'arm-none-eabi-newlib'
    )
url="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"
source_x86_64=("https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2")
source_aarch64=("https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-aarch64-linux.tar.bz2")
license=('custom')
options=(!strip staticlibs)
sha256sums_x86_64=('21134caa478bbf5352e239fbc6e2da3038f8d2207e089efc96c3b55f1edcd618')
md5sums_x86_64=('8312c4c91799885f222f663fc81f9a31')
md5sums_aarch64=('1c3b8944c026d50362eef1f01f329a8e')
package() {
  mkdir -p $pkgdir/usr
  cd $srcdir/gcc-*/
  cp -a * $pkgdir/usr
  rm -f $pkgdir/usr/bin/arm-none-eabi-gdb*
  rm -f $pkgdir/usr/lib/libcc1.so*
}

pftBest commented on 2018-11-08 21:56 (UTC)

ericonr, I think there were also some issues with python, but I don't remember exactly. In general I'm not sure if I want to make a hard dependency on ncurses5-compat-libs. Some people just don't like having it in their system. Previous maintainer abandoned this package because of it. Also if you have to compile something to make a binary package work, then it kinda destroys the appeal of using a binary package in the first place.

commented on 2018-11-08 21:14 (UTC)

Is gdb removed just because of the libncurses.so.5 error? It can be added through the ncurses5-compat-libs ( https://aur.archlinux.org/packages/ncurses5-compat-libs/ ) package here on AUR, and it makes it possible to install both gdb and gdb-py.

pftBest commented on 2017-03-02 10:17 (UTC)

Fixed, thank you

faultylee commented on 2017-03-02 07:07 (UTC)

There's a typo at 6-2017q1, should be 6_1-2017q1 https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/6_1-2017q1/gcc-arm-none-eabi-6-2017-q1-update-linux.tar.bz2

UncleSlug commented on 2017-03-02 04:29 (UTC)

I'm getting error 404 for the archive (not found :( ).

pftBest commented on 2016-12-22 20:46 (UTC)

twilk, fixed, thank you for heads-up. That line was there for a very long time, and it always worked for me, so it is strange to see it fail. And also strange that no one noticed it until now.

twilk commented on 2016-12-22 20:35 (UTC) (edited on 2016-12-22 20:36 (UTC) by twilk)

After the update, I get an error when building this package. The error is that too many arguments are passed to the cd call in package(). I solved it by changing line 35 in the PKGBUILD from "cd $srcdir/gcc-*" to "cd $srcdir/gcc-*/". The added slash at the end means that the glob only matches $srcdir/gcc-arm-none-eabi-6_2-2016q4/ and not $srcdir/gcc-arm-none-eabi-6_2-2016q4-20161216-linux.tar.bz2.

justbuchanan commented on 2016-02-16 23:31 (UTC)

No problem, thanks for the quick fix!

pftBest commented on 2016-02-16 22:04 (UTC)

jbuchanan30, fixed, thanks!

justbuchanan commented on 2016-02-16 21:47 (UTC)

This doesn't build for me. I get an error saying that "source should be an array". It was an easy fix.

pftBest commented on 2015-11-03 14:14 (UTC)

The only part that needs curses is GDB, so the easiest fix is to remove GDB from this package. Otherwise it's a good toolchain, and GDB from community will work fine with it. If no one has any objections I'll take the package.

mrechte commented on 2015-10-24 16:40 (UTC)

This is not a lib32 issue but a ncurse issue. I think the lib32 dependency comes from the fact the source package here is a prebuild version. I struggled a little to build from source, following how-to-build-toolchain.pdf on https://launchpad.net/gcc-arm-embedded: $ ./build-toolchain.sh --skip_steps=mingw32,manual But it required another package from AUR: isl The build failed at the very end while packaging, but fortunately the gcc-arm-none-eabi-4_9-2015q4-20151024-linux.tar.bz2 was there (I just moved it close to the PKGBUILD that I tweaked for using it).

2bluesc commented on 2015-10-18 16:37 (UTC)

I'm going to disown this package since I use community/arm-none-eabi-gcc and friends these days. Someone might considering building the toolchain from source as I hate the libc32 dependencies that this package is built against and causes problems like the ncurses issue.

mrechte commented on 2015-10-18 11:44 (UTC)

I tried to recompile ncurses from ABS --with-abi-version=5 but bash, gptfdisk, readline require ABI 6. I am afraid that we cannot use this binary compiler until upstream upgrades too.

mrechte commented on 2015-10-17 17:21 (UTC)

Hello, I have a libncurses error. Version is now libncurses.so.6: $ arm-none-eabi-gdb arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory Thanks

2bluesc commented on 2015-09-21 03:25 (UTC)

Updated. Thanks!

test0 commented on 2015-09-19 18:13 (UTC)

New PKGBUILD ready for update: http://pastebin.com/mHvcbr5b You're welcome! :D