[U-Boot] 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,
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/t...
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/d...
Big-endian toolchain: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/d...
So for RedHat-based host you need following. Little-endian toolchain: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/d...
Big-endian toolchain: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/d...
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,
So for Debian/Ubuntu host you need following. Little-endian toolchain: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/d...
Big-endian toolchain: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/d...
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,
On Wed, 2014-02-19 at 17:23 +0900, Masahiro Yamada wrote:
Hello Alexey,
So for Debian/Ubuntu host you need following. Little-endian toolchain: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/d...
Big-endian toolchain: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/d...
Worked 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
participants (2)
-
Alexey Brodkin
-
Masahiro Yamada