Package Details: aarch64-none-elf-gcc-bin 13.3.rel1-1

Git Clone URL: https://aur.archlinux.org/aarch64-none-elf-gcc-bin.git (read-only, click to copy)
Package Base: aarch64-none-elf-gcc-bin
Description: The GNU Compiler Collection - cross compiler for ARM64 target
Upstream URL: https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
Licenses: GPL, LGPL
Conflicts: aarch64-none-elf-gcc, aarch64-none-elf-gcc-binutils, aarch64-none-elf-gdb, aarch64-none-elf-toolchain
Provides: aarch64-none-elf-gcc, aarch64-none-elf-gcc-binutils, aarch64-none-elf-gdb
Submitter: 1Conan
Maintainer: hendy643
Last Packager: hendy643
Votes: 6
Popularity: 0.64
First Submitted: 2020-03-18 09:38 (UTC)
Last Updated: 2024-07-09 17:26 (UTC)

Latest Comments

vially commented on 2024-10-26 17:55 (UTC)

Hey @hendy643, thanks for maintaining this package.

Would you mind adding support for the aarch64 architecture too so it can be used on ArchLinux ARM too? The change is relatively straight forward and hopefully it won't add too much extra maintenance work.

diff --git a/PKGBUILD b/PKGBUILD
index 703b5ed..5989b93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,18 +7,20 @@ pkgname=${_target}-gcc-bin
 pkgver=13.3.rel1
 pkgrel=1
 pkgdesc="The GNU Compiler Collection - cross compiler for ARM64 target"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
 url="https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads"
 license=('GPL' 'LGPL')
-source=(https://developer.arm.com/-/media/Files/downloads/gnu/${pkgver}/binrel/arm-gnu-toolchain-${pkgver}-x86_64-${_target}.tar.xz)
-sha256sums=('7fedf894040580b1db747d06ac5d4263c46e591ffe7695656d1da5accb00a159')
+source_x86_64=(https://developer.arm.com/-/media/Files/downloads/gnu/${pkgver}/binrel/arm-gnu-toolchain-${pkgver}-${CARCH}-${_target}.tar.xz)
+sha256sums_x86_64=('7fedf894040580b1db747d06ac5d4263c46e591ffe7695656d1da5accb00a159')
+source_aarch64=(https://developer.arm.com/-/media/Files/downloads/gnu/${pkgver}/binrel/arm-gnu-toolchain-${pkgver}-${CARCH}-${_target}.tar.xz)
+sha256sums_aarch64=('fad7d567be5c095943d42f7078ea6f9a8452062dfe151152c2ec825814d254e0')
 options=('!strip' '!debug')
 provides=(aarch64-none-elf-gcc aarch64-none-elf-gcc-binutils aarch64-none-elf-gdb)
 conflicts=(aarch64-none-elf-toolchain aarch64-none-elf-gcc aarch64-none-elf-gcc-binutils aarch64-none-elf-gdb)

 package() {
   mkdir -p ${pkgdir}/usr
-  cp -a ${srcdir}/arm-gnu-toolchain-${pkgver}-x86_64-${_target}/* ${pkgdir}/usr
+  cp -a ${srcdir}/arm-gnu-toolchain-${pkgver}-${CARCH}-${_target}/* ${pkgdir}/usr
   rm -f ${pkgdir}/usr/*-manifest.txt ${pkgdir}/usr/lib/bfd-plugins/libdep.so
   rm -rf ${pkgdir}/usr/include ${pkgdir}/usr/share/{dejagnu,doc,gcc-*,gdb,info,locale} ${pkgdir}/usr/share/man/{man1/runtest.1,man5,man7}
 }

hendy643 commented on 2024-07-09 17:27 (UTC)

version bump to 13.3rel1.

hendy643 commented on 2024-06-20 14:40 (UTC)

version bump to 13.2rel1.

hendy643 commented on 2024-06-20 02:29 (UTC) (edited on 2024-06-20 02:34 (UTC) by hendy643)

git patch to update from commit c594d0e5ad6b dated 04/01/2023@10:23 as of 20/06/2024@03:25. Updates aarch64-none-elf toolchain to 13.2rel1.

If I can get maintainer of the package, I'll update properly.

diff --git a/.SRCINFO b/.SRCINFO
index 93b4f53..e213533 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,21 @@
 pkgbase = aarch64-none-elf-gcc-bin
        pkgdesc = The GNU Compiler Collection - cross compiler for ARM64 target
-       pkgver = 12.2.rel1
+       pkgver = 13.2.rel1
        pkgrel = 1
        url = https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
        arch = x86_64
        license = GPL
        license = LGPL
-       source = https://developer.arm.com/-/media/Files/downloads/gnu/12.2.rel1/binrel/arm-gnu-toolchain-12.2.rel1-x86_64-aarch64-none-elf.tar.xz
-       sha256sums = 62d66e0ad7bd7f2a183d236ee301a5c73c737c886c7944aa4f39415aab528daf
+       provides = aarch64-none-elf-gcc
+       provides = aarch64-none-elf-gcc-binutils
+       provides = aarch64-none-elf-gdb
+       conflicts = aarch64-none-elf-toolchain
+       conflicts = aarch64-none-elf-gcc
+       conflicts = aarch64-none-elf-gcc-binutils
+       conflicts = aarch64-none-elf-gdb
+       options = !strip
+       options = !debug
+       source = https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-aarch64-none-elf.tar.xz
+       sha256sums = 7fe7b8548258f079d6ce9be9144d2a10bd2bf93b551dafbf20fe7f2e44e014b8

 pkgname = aarch64-none-elf-gcc-bin
diff --git a/PKGBUILD b/PKGBUILD
index a1dc953..f6950fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,24 @@
 # Maintainer: Arti Zirk <arti.zirk@gmail.com>
 # Contributor: 1Conan <me@1conan.com>
+# Contributor: hendy643 <phenderson643@gmail.com>

 _target=aarch64-none-elf
 pkgname=${_target}-gcc-bin
-pkgver=12.2.rel1
+pkgver=13.2.rel1
 pkgrel=1
 pkgdesc="The GNU Compiler Collection - cross compiler for ARM64 target"
 arch=('x86_64')
 url="https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads"
 license=('GPL' 'LGPL')
 source=(https://developer.arm.com/-/media/Files/downloads/gnu/${pkgver}/binrel/arm-gnu-toolchain-${pkgver}-x86_64-${_target}.tar.xz)
-sha256sums=('62d66e0ad7bd7f2a183d236ee301a5c73c737c886c7944aa4f39415aab528daf')
+sha256sums=('7fe7b8548258f079d6ce9be9144d2a10bd2bf93b551dafbf20fe7f2e44e014b8')
+options=('!strip' '!debug')
+provides=(aarch64-none-elf-gcc aarch64-none-elf-gcc-binutils aarch64-none-elf-gdb)
+conflicts=(aarch64-none-elf-toolchain aarch64-none-elf-gcc aarch64-none-elf-gcc-binutils aarch64-none-elf-gdb)

 package() {
   mkdir -p ${pkgdir}/usr
-  cp -a ${srcdir}/arm-gnu-toolchain-${pkgver}-x86_64-${_target}/* ${pkgdir}/usr
+  cp -a ${srcdir}/arm-gnu-toolchain-${pkgver/rel/Rel}-x86_64-${_target}/* ${pkgdir}/usr
   rm -f ${pkgdir}/usr/*-manifest.txt ${pkgdir}/usr/lib/bfd-plugins/libdep.so
   rm -rf ${pkgdir}/usr/include ${pkgdir}/usr/share/{dejagnu,doc,gcc-*,gdb,info,locale} ${pkgdir}/usr/share/man/{man1/runtest.1,man5,man7}
 }