This is the main Git repository for the ARC GNU toolchain. It contains documentation & various supplementary materials required for development, verification & releasing of pre-built toolchain artifacts.
There are several documentation sites for ARC GNU toolchain:
- GNU toolchain documentation site - the documentation site for all ARC targets.
- Old GNU toolchain documentation site - the documentation site for ARC Classic targets
for release
arc-2023.03and earlier.
Follow Building ARC Toolchains guide to build any ARC GNU toolchain manually using Crosstool-NG.
In all of the following examples, it is expected that GNU toolchain for ARC has
been added to the user's PATH environment variable. Please note that built toolchain by default gets installed in the current users's ~/x-tools/TOOLCHAIN_TUPLE folder, where TOOLCHAIN_TUPLE is by default dynamically generated based on the toolchain type (bare-metal, glibc or uclibc), CPU's bitness (32- or 64-bit), provided vendor name etc.
For example:
- With
snps-arc-multilib-elf32sample built toolchain will be installed in~/x-tools/arc-snps-elf - With
snps-arc64-unknown-elfsample built toolchain will be installed in~/x-tools/arc64-snps-elf
You can find general information about GNU ARC toolchains on the official documentation page:
Also, detailed usage examples for various targets and platform may found on the official documentation page:
Usage examples for ARC Classic:
- Getting Started with nSIM
- Getting Started with Picolibc
- Building baremetal applications for ARC Classic and running them on HS Development Kit
- Building baremetal applications for ARC Classic and running them on EM Software Development Platform
- Debugging applications on Linux
Usage examples for ARC-V:
For all inquiries Synopsys customers are advised to use SolvNet. Everyone is welcome to open an issue against toolchain repository on GitHub.