Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ As of today, the oldest supported distributions are:
* Ubuntu 22.04 LTS
* RHEL/AlmaLinux 8

A host machine must have at least 8GB of RAM and 200GB of disk space
to successfully build any of the toolchains listed below.

## Prerequisites

GNU toolchain for ARC has the same standard prerequisites as an upstream GNU
Expand Down Expand Up @@ -153,6 +156,9 @@ make

## Building the Toolchain

> :warning: Note, that `PATH` should not contain toolchains for the same target
> to prevent builds issue. `LD_LIBRARY_PATH` should be unset as well.

Once Crosstool-NG is built and ready for use it's very easy to get a toolchain
of choice to be built. One just needs to decide on configuration options
to be used for toolchain building or use one of the existing pre-defined
Expand Down Expand Up @@ -182,7 +188,9 @@ The following pre-defined configurations (they are called "samples" on Crosstool
1. `snps-arc64-snps-native-gnu` - Linux glibc "native" toolchain from ARC HS6x processors
1. `snps-arc64-unknown-elf` - Bare-metal cross-toolchain for ARC HS6x processors for 64-bit Linux hosts
1. `snps-riscv64-unknown-elf` - Bare-metal cross-toolchain for ARC-V processors with Newlib standard library for 64-bit Linux hosts
1. `snps-riscv64-win-elf` - Bare-metal cross-toolchain for ARC-V processors for 64-bit Windows hosts
1. `snps-riscv64-elf-win` - Bare-metal cross-toolchain for ARC-V processors with Newlib standard library for 64-bit Windows hosts
1. `snps-riscv64-snps-elf-picolibc` - Bare-metal cross-toolchain for ARC-V processors with Picolibc standard library for 64-bit Linux hosts
1. `snps-riscv64-elf-win-picolibc` - Bare-metal cross-toolchain for ARC-V processors with Picolibc standard library for 64-bit Windows hosts

And to get Crosstool-NG configured with either of those samples just say: `./ct-ng sample_name`. For example, to get bare-metal toolchain for ARCompact/ARCv2 processors say: `./ct-ng snps-arc-multilib-elf32`.

Expand Down