pre-compiled ARC gcc
Hello Alexey,
Can I download ARC gcc from somewhere?
I prefer a pre-built one.
I want to build all boards over all architectures.
Best Regards
Masahiro Yamada
Hello Masahiro-san,
Quoted 5 lines · Masahiro Yamada
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
Hello Alexey,
Quoted 6 lines
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.gzBig-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
Worked for me. Thanks!
I could build all ARC boards.
(I needed to apply http://ork.ozlabs.org/patch/318375/ for axs101.)
Best Regards
Masahiro Yamada
Hello Masahiro-san,
Quoted 7 lines · Masahiro Yamada
Hello Alexey,
Quoted 4 lines
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
Quoted 7 lines
Quoted 2 lines
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.gzWorked for me. Thanks!
I could build all ARC boards.
(I needed to apply http://ork.ozlabs.org/patch/318375/ for axs101.)
Good to know!
Even though if I build with "./MAKEALL -a arc" I see "error" reported for axs101 even though u-boot executable gets built. So could be an issue in compiler output parser in MAKEALL script.
Regards,
Alexey