- Пакет: gcc-arm-linux-gnueabi (4:7.4.0-1ubuntu2.3 и другие) [ security] [ universe]
- Ссылки для gcc-arm-linux-gnueabi
- Ресурсы Ubuntu:
- Сопровождающий:
- Original Maintainers (usually from Debian):
- Подобные пакеты:
- GNU C compiler for the armel architecture
- Другие пакеты, относящиеся к gcc-arm-linux-gnueabi
- Загрузка gcc-arm-linux-gnueabi
- Кросскомпиляция под ARM
- Вводная
- Инструменты
- Элементарная технология кросскомпиляции
- Linux gcc для arm
- Latest commit
- Git stats
- Files
- README.md
- About
- Пакет: gcc-arm-linux-gnueabi (4:6.3.0-4)
- Ссылки для gcc-arm-linux-gnueabi
- Ресурсы Debian:
- Исходный код gcc-defaults:
- Сопровождающие:
- Подобные пакеты:
- GNU C compiler for the armel architecture
- Другие пакеты, относящиеся к gcc-arm-linux-gnueabi
- Загрузка gcc-arm-linux-gnueabi
- GNU-A Downloads
- Downloads
- GNU Toolchain for the A-profile Architecture
- Version 10.3-2021.07
- What’s new in 10.3-2021.07
- In this release
- Windows (mingw-w64-i686) hosted cross compilers
- x86_64 Linux hosted cross compilers
- AArch64 Linux hosted cross compilers
- Sources
- Release Note for GNU Toolchain for the A-profile Architecture 10.3-2021.07
- Description
- Features
- Changes since Arm release GCC 10.2-2020.11
- Content
- Known dependencies
- The GNU Toolchains
- Released files
- Installation instructions
- Known issues
- Ask questions
- Report bugs
- What’s new in 10.2-2020.11
- In this release
- Windows (mingw-w64-i686) hosted cross compilers
- x86_64 Linux hosted cross compilers
- AArch64 Linux hosted cross compilers
- Sources
- Linaro ABE example manifest files for x86_64 hosted cross compilers
- Release Note for GNU Toolchain for the A-profile Architecture 10.2-2020.11
- Description
- Features
- Changes since Arm release GCC 9.2-2019.12
- Content
- Known dependencies
- The GNU Toolchains
- Host requirements
- Released files
- Installation instructions
- How to build the toolchain from sources
- Instructions
- Known issues
- Ask questions
- Report bugs
Пакет: gcc-arm-linux-gnueabi (4:7.4.0-1ubuntu2.3 и другие) [ security] [ universe]
Ссылки для gcc-arm-linux-gnueabi
Ресурсы Ubuntu:
Сопровождающий:
Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.
Original Maintainers (usually from Debian):
- Debian GCC Maintainers (Почтовый архив)
- Matthias Klose
It should generally not be necessary for users to contact the original maintainer.
Подобные пакеты:
GNU C compiler for the armel architecture
Другие пакеты, относящиеся к gcc-arm-linux-gnueabi
|
|
|
|
- dep: cpp-arm-linux-gnueabi (>= 4:7.3.0-3ubuntu2) [arm64] GNU C preprocessor (cpp) for the armel architecture dep: cpp-arm-linux-gnueabi (>= 4:7.4.0-1ubuntu2.3) [не arm64]
- dep: gcc-7-arm-linux-gnueabi (>= 7.3.0-12
) [arm64] GNU C compiler (cross compiler for armel architecture) dep: gcc-7-arm-linux-gnueabi (>= 7.4.0-1
) [не arm64]
- rec: libc6-dev-armel-cross GNU C Library: Development Libraries and Header Files (for cross-compiling) или libc-dev-armel-cross виртуальный пакет, предоставляемый libc6-dev-armel-cross
- sug: autoconf automatic configure script builder
- sug: automake Tool for generating GNU Standards-compliant Makefiles
- sug: bison YACC-compatible parser generator
- sug: flex fast lexical analyzer generator
- sug: gcc-doc Documentation for the GNU C compilers (gcc, gobjc, g++)
- sug: gdb-arm-linux-gnueabi Пакет недоступен
- sug: libtool Generic library support script
- sug: make utility for directing compilation
также виртуальный пакет, предоставляемый make-guile - sug: manpages-dev Manual pages about using GNU/Linux for development
Загрузка gcc-arm-linux-gnueabi
Архитектура | Версия | Размер пакета | В установленном виде | Файлы |
---|---|---|---|---|
amd64 | 4:7.4.0-1ubuntu2.3 | 1,4 Кб | 25,0 Кб | [список файлов] |
arm64 | 4:7.3.0-3ubuntu2 | 1,4 Кб | 25,0 Кб | [список файлов] |
i386 | 4:7.4.0-1ubuntu2.3 | 1,4 Кб | 25,0 Кб | [список файлов] |
This page is also available in the following languages:
Авторские права © 2021 Canonical Ltd.; См. условия лицензии. Ubuntu это торговый знак компании Canonical Ltd. Об этом сайте.
Источник
Кросскомпиляция под ARM
Достаточно давно хотел освоить сабж, но всё были другие более приоритетные дела. И вот настала очередь кросскомпиляции.
В данном посте будут описаны:
- Инструменты
- Элементарная технология кросскомпиляции
- И, собственно, HOW2
Кому это интересно, прошу под кат.
Вводная
Одно из развивающихся направлений в современном IT это IoT. Развивается это направление достаточно быстро, всё время выходят всякие крутые штуки (типа кроссовок со встроенным трекером или кроссовки, которые могут указывать направление, куда идти (специально для слепых людей)). Основная масса этих устройств представляют собой что-то типа «блютуз лампочки», но оставшаяся часть являет собой сложные процессорные системы, которые собирают данные и управляют этим огромным разнообразием всяких умных штучек. Эти сложные системы, как правило, представляют собой одноплатные компьютеры, такие как Raspberry Pi, Odroid, Orange Pi и т.п. На них запускается Linux и пишется прикладной софт. В основном, используют скриптовые языки и Java. Но бывают приложения, когда необходима высокая производительность, и здесь, естественно, требуются C и C++. К примеру, может потребоваться добавить что-то специфичное в ядро или, как можно быстрее, высчитать БПФ. Вот тут-то и нужна кросскомпиляция.
Если проект не очень большой, то его можно собирать и отлаживать прямо на целевой платформе. А если проект достаточно велик, то компиляция на целевой платформе будет затруднительна из-за временных издержек. К примеру, попробуйте собрать Boost на Raspberry Pi. Думаю, ожидание сборки будет продолжительным, а если ещё и ошибки какие всплывут, то это может занять ох как много времени.
Поэтому лучше собирать на хосте. В моём случае, это i5 с 4ГБ ОЗУ, Fedora 24.
Инструменты
Для кросскомпиляции под ARM требуются toolchain и эмулятор платформы либо реальная целевая платформа.
Т.к. меня интересует компиляция для ARM, то использоваться будет и соответствующий toolchain.
Toolchain’ы делятся на несколько типов или триплетов. Триплет обычно состоит из трёх частей: целевой процессор, vendor и OS, vendor зачастую опускается.
- *-none-eabi — это toolchain для компиляции проекта работающего в bare metal.
- *eabi — это toolchain для компиляции проекта работающего в какой-либо ОС. В моём случае, это Linux.
- *eabihf — это почти то же самое, что и eabi, с разницей в реализации ABI вызова функций с плавающей точкой. hf — расшифровывается как hard float.
Описанное выше справедливо для gcc и сделанных на его базе toolchain’ах.
Сперва я пытался использовать toolchain’ы, которые лежат в репах Fedora 24. Но был неприятно удивлён этим:
Поискав, наткнулся на toolchain от компании Linaro. И он меня вполне устроил.
Второй инструмент- это QEMU. Я буду использовать его, т.к. мой Odroid-C1+ пал смертью храбрых (нагнулся контроллер SD карты). Но я таки успел с ним чуток поработать, что не может не радовать.
Элементарная технология кросскомпиляции
Собственно, ничего необычного в этом нет. Просто используется toolchain в роли компилятора. А стандартные библиотеки поставляются вместе с toolchain’ом.
Выглядит это так:
Какие ключи у toolchain’а можно посмотреть на сайте gnu, в соответствующем разделе.
Для начала нужно запустить эмуляцию с интересующей платформой. Я решил съэмулировать Cortex-A9.
После нескольких неудачных попыток наткнулся на этот how2, который оказался вполне вменяемым, на мой взгляд.
Ну сперва, само собою, нужно заиметь QEMU. Установил я его из стандартных репов Fedor’ы.
Далее создаём образ жёсткого диска, на который будет установлен Debian.
По этой ссылке скачал vmlinuz и initrd и запустил их в эмуляции.
Далее просто устанавливаем Debian на наш образ жёсткого диска (у меня ушло
После установки нужно вынуть из образа жёсткого диска vmlinuz и initrd. Делал я это по описанию отсюда.
Сперва узнаём смещение, где расположен раздел с нужными нам файлами:
Теперь по этому смещению примонтируем нужный нам раздел.
Копируем файлы vmlinuz и initrd и размонтируем жёсткий диск.
Теперь можно запустить эмуляцию.
И вот заветное приглашение:
Теперь с хоста по SSH можно подцепиться к симуляции.
Теперь можно и собрать программку. По Makefile’у ясно, что будет калькулятор. Простенький.
Собираем на хосте исполняемый файл.
Отмечу, что проще собрать с ключом -static, если нет особого желания предаваться плотским утехам с библиотеками на целевой платформе.
Копируем исполняемый файл на таргет и проверяем.
Собственно, вот такая она, эта кросскомпиляция.
UPD: Подправил информацию по toolchain’ам по комментарию grossws.
Источник
Linux gcc для arm
⚒️ Bleeding edge GNU GCC toolchains (CC only) built from sources with latest binutils and glibc. (for ARM)
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
GNU GCC Toolchain
Bleeding edge GNU GCC AArch32 systems. built from sources with latest binutils and glibc. These Builds (on master/main branch) are always made from the latest GCC sources rather than stable releases.
This toolchain AArch32 AArch64 here. Built with Support for Link Time Optimization, -O3, —disable-nls and removed extras that we don’t need.
Getting the toolchain
Clone using git from this repo, As currently we don’t have any mirror or a archived release.
Note: This is continous updating repository made from the latest GCC sources rather than stable releases, if you want to use stable release of gcc clone the stable-gcc branch of this repository.
Note: Also using depth flag (—depth=1) is recommended as repository size is large and will keep increasing in future updates.
Using the toolchain
Export the CROSS_COMPILE in enviroment
Along with the compiler (GCC) which is built from latest sources, the GNU and other libraries and prerequisite are also been built from latest sources itself.
Multiple-Precision Floating-Point Computations with Correct Rounding (MPFR) http://www.mpfr.org/
C Standard Library Intended for use on Embedded Systems (NEWLIB) https://sourceware.org/newlib/
GCC is licensed under version 3 of the GNU General Public License. The GCC runtime exception permits compilation of proprietary and free software programs with GCC and usage of free software plugins. The availability of this exception does not imply any general presumption that third-party software is unaffected by the copyleft requirements of the license of GCC.
About
⚒️ Bleeding edge GNU GCC toolchains (CC only) built from sources with latest binutils and glibc. (for ARM)
Источник
Пакет: gcc-arm-linux-gnueabi (4:6.3.0-4)
Ссылки для gcc-arm-linux-gnueabi
Ресурсы Debian:
Исходный код gcc-defaults:
Сопровождающие:
Подобные пакеты:
GNU C compiler for the armel architecture
This is the GNU C compiler, a fairly portable optimizing compiler for C.
This is a dependency package providing the default GNU C cross-compiler for the armel architecture.
Другие пакеты, относящиеся к gcc-arm-linux-gnueabi
|
|
|
|
- dep: cpp-arm-linux-gnueabi (>= 4:6.3.0-4) GNU C preprocessor (cpp) for the armel architecture
- dep: gcc-6-arm-linux-gnueabi (>= 6.3.0-9
) GNU C compiler
- rec: libc6-dev-armel-cross GNU C Library: Development Libraries and Header Files (for cross-compiling) или libc-dev-armel-cross виртуальный пакет, предоставляемый libc6-dev-armel-cross
- sug: autoconf automatic configure script builder
- sug: automake Tool for generating GNU Standards-compliant Makefiles
- sug: bison YACC-compatible parser generator
- sug: flex fast lexical analyzer generator
- sug: gcc-doc documentation for the GNU compilers (gcc, gobjc, g++)
- sug: gdb-arm-linux-gnueabi Пакет недоступен
- sug: libtool Сценарий сопровождения общих библиотек
- sug: make утилита управления компиляцией
также виртуальный пакет, предоставляемый make-guile - sug: manpages-dev Manual pages about using GNU/Linux for development
Загрузка gcc-arm-linux-gnueabi
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
amd64 | 1,3 Кб | 24,0 Кб | [список файлов] |
arm64 | 1,3 Кб | 24,0 Кб | [список файлов] |
i386 | 1,3 Кб | 24,0 Кб | [список файлов] |
Эта страница также доступна на следующих языках (Как установить язык по умолчанию):
Чтобы сообщить о проблеме, связанной с веб-сайтом, отправьте сообщение (на английском) в список рассылки debian-www@lists.debian.org. Прочую контактную информацию см. на странице Debian Как с нами связаться.
Авторские права © 1997 — 2021 SPI Inc.; См. условия лицензии. Debian это торговый знак компании SPI Inc. Об этом сайте.
Источник
GNU-A Downloads
October 19-21, 2021
Learn to write fast and run fast on Arm
Downloads
The GNU Toolchain for the Cortex-A Family is a ready-to-use, open source suite of tools for C, C++ and Assembly programming. This toolchain targets processors from the Arm Cortex-A family and implements the Arm A-profile architecture.
The toolchain includes the GNU Compiler (GCC) and is available free of charge directly for Windows and Linux operating systems. Follow the links on this page to download the correct version for your development environment.
See the downloaded package Release Notes, which are linked from this page, for full installation instructions.
GNU Toolchain for the A-profile Architecture
Version 10.3-2021.07
Released: July 29, 2021
What’s new in 10.3-2021.07
We are pleased to announce the Arm release of the pre-built GNU cross-toolchain for the A-profile cores: GCC 10.3-2021.07.
This is the same toolchain that was previously distributed by Linaro.
For more information about the GNU Arm toolchain and download the release packages, please go to the Arm Developer website.
In this release
Windows (mingw-w64-i686) hosted cross compilers
AArch32 bare-metal target (arm-none-eabi)
AArch32 target with hard float (arm-none-linux-gnueabihf)
AArch64 bare-metal target (aarch64-none-elf)
AArch64 GNU/Linux target (aarch64-none-linux-gnu)
x86_64 Linux hosted cross compilers
AArch32 bare-metal target (arm-none-eabi)
AArch32 target with hard float (arm-linux-none-gnueabihf)
AArch64 ELF bare-metal target (aarch64-none-elf)
AArch64 GNU/Linux target (aarch64-none-linux-gnu)
AArch64 GNU/Linux target (aarch64_be-none-linux-gnu)
AArch64 Linux hosted cross compilers
AArch32 bare-metal target (arm-none-eabi)
AArch32 target with hard float (arm-none-linux-gnueabihf)
AArch64 ELF bare-metal target (aarch64-none-elf)
Sources
Release Note for GNU Toolchain for the A-profile Architecture 10.3-2021.07
Description
GNU 10.3 cross-toolchain for the A-profile processors
Features
- Based on GCC 10.3 (See https://gcc.gnu.org/gcc-10/changes.html for details).
- Supported targets on Windows(x86_64): AArch64 (bare-metal and Linux), AArch32 (bare-metal, Linux hard-float)
- Supported targets on Linux(x86_64): AArch64 (bare-metal, Linux, Linux big-endian), AArch32 (bare-metal, Linux hard-float)
- Supported targets on Linux(AArch64): AArch64 (bare-metal), AArch32 (bare-metal, Linux hard-float)
Changes since Arm release GCC 10.2-2020.11
- Bumped binutils to version 2.36.1.
- Bumped glibc to version 2.33.
- Bumped newlib to a version from May 2021.
The toolchain executables for Windows host are signed with SHA2.
Fixed issue https://sourceware.org/bugzilla/show_bug.cgi?id=25235 where forward-referencing ADR instructions were generating wrong offsets in Thumb code.
Fixed issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95253 where the toolchain on Windows host generated incorrect paths in the output dependency file.
Fixed issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97236 where wrong code might be generated for Aarch64 targets when using -O3 optimization.
Fixed an issue where files opened in binary mode on AArch64 might be incorrectly handled.
Content
This release includes the following items:
Sources provided in release source tar ball.
GDB-with-python support for Python 2.7.6 (x86_64 builds).
GDB-with-python support for Python 2.7.13 (mingw-w64-i686 builds).
libgmp 4.3.2
libisl 0.15
libmpfr 3.1.6
libmpc 1.0.3
libiconv 1.15
Sources provided in release source tar ball.
Known dependencies
GDB’s Python support requires Python compiled with UCS-4 support (built with —enable-unicode=ucs4) for Linux (x86_64) and Windows hosts
GDB’s Python support requires Python DLL dependencies for Windows host.
Toolchains dedicated for Windows host require mingw-w64 library, a complete runtime environment for GCC.
The following executables in the Windows hosted toolchains:
have additional dependencies on the following dlls:
- libwinpthread-1.dll
- libgcc_s_sjlj-1.dll
- libstdc++-6.dll
- libgcc_s_dw2-1.dll
You can obtain the required dlls from the MinGW-W64 GCC-8.1.0 packages from SourceForge:
The GNU Toolchains
The package names of the released GNU toolchain binaries have the following naming convention:
Toolchain Package Name | Host OS | Target Description |
---|---|---|
gcc-arm-10.3-2021.07-aarch64-aarch64-none-elf.tar.xz | AArch64 Linux | AArch64 ELF bare-metal target. |
gcc-arm-10.3-2021.07-aarch64 -arm-none-eabi.tar.xz | AArch64 Linux | AArch32 bare-metal target. |
gcc-arm-10.3-2021.07-aarch64 -arm-none-linux-gnueabihf.tar.xz | AArch64 Linux | AArch32 GNU/Linux target with hard float. |
gcc-arm-10.3-2021.07- mingw-w64-i686-arm-none-eabi.tar.xz | Windows | AArch32 bare-metal target. |
gcc-arm-10.3-2021.07- mingw-w64-i686-aarch64-none-elf.tar.xz | Windows | AArch64 ELF bare-metal target. |
gcc-arm-10.3-2021.07- mingw-w64-i686- arm-none-linux-gnueabihf.tar.xz | Windows | AArch32 GNU/Linux target with hard float. |
gcc-arm-10.3-2021.07-mingw-w64-i686-aarch64-none-linux-gnu.tar.xz | Windows | AArch64 GNU/Linux target. |
gcc-arm-10.3-2021.07- x86_64-aarch64-none-elf.tar.xz | x86_64 Linux | AArch64 ELF bare-metal target. |
gcc-arm-10.3-2021.07- x86_64-aarch64-none-linux-gnu.tar.xz | x86_64 Linux | AArch64 GNU/Linux target. |
gcc-arm-10.3-2021.07- x86_64-aarch64_be-none-linux-gnu.tar.xz | x86_64 Linux | AArch64 GNU/Linux big-endian target. |
gcc-arm-10.3-2021.07- x86_64-arm-none-eabi.tar.xz | x86_64 Linux | AArch32 bare-metal target. |
gcc-arm-10.3-2021.07- x86_64-arm-none-linux-gnueabihf.tar.xz | x86_64 Linux | AArch32 GNU/Linux target with hard float. |
Description | Requirement | Host OS identifier in the toolchain package name | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Linux on 64-bit Arm (AArch64) | aarch64 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Windows on 64-bit x86 (x86_64) | Windows 10 | mingw-w64-i686 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
gcc-arm-*.tar.xz | Toolchain binaries |
gcc-arm-src-snapshot-*.tar.xz | Toolchain sources |
gcc-arm-src-snapshot-*-manifest.txt | Text manifest file with list of remote repositories for toolchain |
gcc-arm-*-abe-manifest.txt | Input files for Linaro ABE build system. |
*.asc | MD5 checksum files for sources and binaries |
Installation instructions
Extract XZ compressed release archive using TAR archiving utility:
Compute and check MD5 checksum of XZ compressed release archives using md5sum utility:
The prebuilt binary bundles can be un-tarred and executed in place. Unpack the Linux cross toolchain:
Known issues
When you decompress the windows packages, the decompression requests permission to overwrite certain files. This is because the files have similar names with different case, which are treated as identical names on a Windows host. You can choose to overwrite the files with identical names.
When using the toolchains dedicated for the Windows host, if you invoke the compiler from the installed toolchain’s bin directory and you use the -flto option without using the -c option, then the linker generates this error message:
error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
To avoid this error message, you must invoke the compiler from any directory other than the installed toolchain’s bin directory.
Ask questions
Report bugs
What’s new in 10.2-2020.11
We are pleased to announce the Arm release of the pre-built GNU cross-toolchain for the A-profile cores: GCC 10.2-2020.11.
This is the same toolchain that was previously distributed by Linaro.
For more information about the GNU Arm toolchain and download the release packages, please go to the Arm Developer website.
In this release
Windows (mingw-w64-i686) hosted cross compilers
AArch32 bare-metal target (arm-none-eabi)
AArch32 target with hard float (arm-none-linux-gnueabihf)
AArch64 bare-metal target (aarch64-none-elf)
AArch64 GNU/Linux target (aarch64-none-linux-gnu)
x86_64 Linux hosted cross compilers
AArch32 bare-metal target (arm-none-eabi)
AArch32 target with hard float (arm-linux-none-gnueabihf)
AArch64 ELF bare-metal target (aarch64-none-elf)
AArch64 GNU/Linux target (aarch64-none-linux-gnu)
AArch64 GNU/Linux target (aarch64_be-none-linux-gnu)
AArch64 Linux hosted cross compilers
AArch32 bare-metal target (arm-none-eabi)
AArch32 target with hard float (arm-none-linux-gnueabihf)
AArch64 ELF bare-metal target (aarch64-none-elf)
Sources
Linaro ABE example manifest files for x86_64 hosted cross compilers
Release Note for GNU Toolchain for the A-profile Architecture 10.2-2020.11
Description
GNU 10.2 cross-toolchain for the A-profile processors
Features
- Based on GCC 10.2 (See https://gcc.gnu.org/gcc-10/changes.html for details).
- Supported targets on Windows(x86_64): AArch64 (bare-metal and Linux), AArch32 (bare-metal, Linux hard-float).
- Supported targets on Linux(x86_64): AArch64 (bare-metal, Linux, Linux big-endian), AArch32 (bare-metal, Linux hard-float).
- Supported targets on Linux(AArch64): AArch64 (bare-metal), AArch32 (bare-metal, Linux hard-float).
Changes since Arm release GCC 9.2-2019.12
- Added support for Arm Neoverse V1.
- Fixed issue where the compiler was generating a conditional branch in Thumb2, which was too far for b
to handle. - Fixed issue where assembling code containing the UDF instruction results in «unknown mnemonic error» when targeting the AArch64 platform.
- Fixed issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96191, where the -fstack-protector option was leaving the canary value in a temporary register on return from the function.
Content
This release includes the following items:
GCC 10.2.1 | Repository: git://gcc.gnu.org/git/gcc.git Revision: 3b91aab15443ee150b2ba314a4b26645ce8d713b Release note Sources provided in release source tar ball. |
glibc 2.31 | Repository: git://sourceware.org/git/glibc.git Revision: 8dc76056654f8013a54678461fb023e988a17256 Release note |
binutils 2.35.1 | Repository: git://sourceware.org/git/binutils-gdb.git Revision: d9a444bca66bf4b0d328acb547ca114081f3fd87 Release note |
GDB 10.1 | Repository: git://sourceware.org/git/binutils-gdb.git Revision: f3fb4a77f29a99ffa2e1460dfa652081cdbd38be GDB-with-python support for Python 2.7.6 (x86_64 builds). GDB-with-python support for Python 2.7.13 (mingw-w64-i686 builds). Release note |
libexpat 2.2.5 | Repository: https://github.com/libexpat/libexpat.git Revision: Release note |
Linux Kernel | Repository: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Revision: v4.20.13 Release Note |
libgmp 4.3.2 libisl 0.15 libmpfr 3.1.6 libmpc 1.0.3 libiconv 1.15 | Sources provided in release source tar ball. |
Known dependencies
- GDB’s Python support requires Python compiled with UCS-4 support (built with —enable-unicode=ucs4) for Linux (x86_64) and Windows hosts.
- GDB’s Python support requires Python DLL dependencies for Windows host.
- Toolchains dedicated for Windows host require mingw-w64 library, a complete runtime environment for GCC.
- The following executables in the Windows hosted toolchains:
— aarch64-none-linux-gnu-dwp.exe
— aarch64-none-linux-gnu-ld.gold.exe
— arm-none-linux-gnueabihf-dwp
— arm-none-linux-gnueabihf-ld.gold.exe
have additional dependencies on the following dlls:
— libwinpthread-1.dll
— libgcc_s_sjlj-1.dll
— libstdc++-6.dll
— libgcc_s_dw2-1.dll
You can obtain the required dlls from the MinGW-W64 GCC-8.1.0 packages from SourceForge:
— i686-posix-sjlj
— i686-posix-dwarf
The GNU Toolchains
The package names of the released GNU toolchain binaries have the following naming convention:
Toolchain Package Name | Host OS | Target Description |
gcc-arm-10.2-2020.11-aarch64-aarch64-none-elf.tar.xz | AArch64 Linux | AArch64 ELF bare-metal target. |
gcc-arm-10.2-2020.11-aarch64-arm-none-eabi.tar.xz | AArch64 Linux | AArch32 bare-metal target. |
gcc-arm-10.2-2020.11-aarch64-arm-none-linux-gnueabihf.tar.xz | AArch64 Linux | AArch32 target with hard float. |
gcc-arm-10.2-2020.11-mingw-w64-i686-arm-none-eabi.tar.xz | Windows | AArch32 bare-metal target. |
gcc-arm-10.2-2020.11-mingw-w64-i686-aarch64-none-elf.tar.xz | Windows | AArch64 ELF bare-metal target. |
gcc-arm-10.2-2020.11-mingw-w64-i686-arm-none-linux-gnueabihf.tar.xz | Windows | AArch32 target with hard float. |
gcc-arm-10.2-2020.11-mingw-w64-i686-aarch64-none-linux-gnu.tar.xz | Windows | AArch64 GNU/Linux target. |
gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf.tar.xz | x86_64 Linux | AArch64 ELF bare-metal target. |
gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu.tar.xz | x86_64 Linux | AArch64 GNU/Linux target. |
gcc-arm-10.2-2020.11-x86_64-aarch64_be-none-linux-gnu.tar.xz | x86_64 Linux | AArch64 GNU/Linux big-endian target. |
gcc-arm-10.2-2020.11-x86_64-arm-none-eabi.tar.xz | x86_64 Linux | AArch32 bare-metal target. |
gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf.tar.xz | x86_64 Linux | AArch32 target with hard float. |
Host requirements
Description | Requirement | Host OS identifier in the toolchain package name |
Linux on 64-bit Arm (AArch64) | Ubuntu 18.04 LTS or later RHEL 8 or later |
Released files
gcc-arm-*.tar.xz | Toolchain binaries |
gcc-arm-src-snapshot-*.tar.xz | Toolchain sources |
gcc-arm-src-snapshot-*-manifest.txt | Text manifest file with list of remote repositories for toolchain |
gcc-arm-*-abe-manifest.txt | Input files for Linaro ABE build system. |
*.asc | MD5 checksum files for sources and binaries |
Installation instructions
Extract XZ compressed release archive using TAR archiving utility:
Example for Linux(x86_64) hosted for AArch64 Linux target
Compute and check MD5 checksum of XZ compressed release archives using md5sum utility:
The prebuilt binary bundles can be un-tarred and executed in place. Unpack the Linux cross toolchain:
How to build the toolchain from sources
You can build GNU cross-toolchain for the A-profile from sources using Linaro ABE (Advanced Build Environment) and provided ABE manifest files.
Below example shows how to build gcc-arm-aarch64-linux-gnu toolchain from sources using Linaro ABE build system.
Instructions
ABE has a dependency on git-new-workdir and needs this tool to be installed in /usr/local/bin directory:
Clone ABE from the URL below and checkout the stable branch (see Getting ABE):
Create the build directory and change to it. Any name for the directory will work:
Configure ABE (from the build directory):
Download the toolchain manifest file from the GNU Arm toolchain page on developer.arm.com, for example: gcc-arm-aarch64-none-elf-abe-manifest.txt.
Build toolchain (from the build directory):
The built toolchain will be installed and available for use in the builds/destdir/x86_64-unknown-linux-gnu/bin/ directory.
Known issues
- When you decompress the windows packages, the decompression requests permission to overwrite certain files. This is because the files have similar names with different case, which are treated as identical names on a Windows host. You can choose to overwrite the files with identical names.
- When using the toolchains dedicated for the Windows host, if you invoke the compiler from the installed toolchain’s bin directory and you use the -flto option without using the -c option, then the linker generates this error message: To avoid this error message, you must invoke the compiler from any directory other than the installed toolchain’s bin directory.
Ask questions
For any questions, please use the Arm Communities forums.
Report bugs
Please report any bugs via the Linaro Bugzilla.
Источник