[U-Boot] pre-compiled ARC gcc

Alexey Brodkin Alexey.Brodkin at synopsys.com
Tue Feb 18 11:19:33 CET 2014


Hello Masahiro-san,

On Tue, 2014-02-18 at 19:04 +0900, Masahiro Yamada wrote:
> Hello Alexey,
> 
> Can I download ARC gcc from somewhere?
> I prefer a pre-built one.
> I want to build all boards over all architectures.

Indeed there're pre-built versions of tools for ARC.
Please look here:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-4.8-R2

There're separate tarballs for:
1. Elf32 and uClibc
2. For Debian/Ubuntu and RedHat/Fedora/CentOS
3. Little- and big-endian targets

You need only uClibc tools.

So for Debian/Ubuntu host you need following.
Little-endian toolchain:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-4.8-R2/arc_gnu_4.8-R2_prebuilt_uclibc_le_ubuntu_install.tar.gz

Big-endian toolchain:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-4.8-R2/arc_gnu_4.8-R2_prebuilt_uclibc_be_ubuntu_install.tar.gz


So for RedHat-based host you need following.
Little-endian toolchain: 
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-4.8-R2/arc_gnu_4.8-R2_prebuilt_uclibc_le_rhel6_install.tar.gz

Big-endian toolchain:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-4.8-R2/arc_gnu_4.8-R2_prebuilt_uclibc_be_rhel6_install.tar.gz

Just extract corresponding tarball anywhere on your hos and add path to
"bin/" folder in your PATH env var.

Also you'll need to set ARCH env var to "arc".

Regards,
Alexey






More information about the U-Boot mailing list