I would like to know if there’s a process of getting addition CPU architectures into the prebuilt toolchains. The WIndows, MacOS, and Linux 64 bit toolchains are great, but I was hoping to be able grab one for running on a Raspberry Pi 2/3. The current version available via the Raspbian packages repo is a bit old.
Does anyone have a pointer to prebuilt versions (both current and older would be nice) for armv6l/armv7l/Raspberry Pi hosts?
Here are the Linux 64-bit toolchains for your Raspberry Pi. They can also support Armv6/Armv7.
There are many different tool chain builds in the list. Please take the suitable one based on your hardware configuration.
I'm in a similar situation looking for prebuilt binaries for the latest "GNU Embedded Toolchain for Arm" that will run on a Raspberry Pi with Raspbian (ie: armhf). For example, I'd like a prebuilt binary for the latest release 8-2019q3-update.
I've tried building from the source, but have not been successful. The link provided to Linaro above did not appear to have what I need.
Does anyone know of a place where these prebuilt binaries can be found? Or, does anyone have information on how to build the binaries locally? I've previously followed the PDF instructions provided with the source to build but was not able to get it to build on a Raspberry Pi or through cross-compiling.
HiFrom what I can see, you need prebuilt toolchains that run on Arm v6/v7 hardware. At this point, Arm only provides cross-toolchains that run on x86 host. We soon plan to provide cross-toolchains that run on AArch64 (Armv8) running Linux. But there is no plan to provide Armv7 or Armv6 hosted toolchain from Arm.RegardsAshok
I have Puppy-Linux on RPi3.
Now I wanted to start with STM8 and have all the hardware but
miss a SDCC (Small Device Cross Compiler) and
the STMflash for STlinkv2 and only find sources for both that I'm incapable to compile on a RPi3.
(GCC on linaro is far too big)
Has anybody just compiled that for ARMv6 or does someone know where to get them as binaries?
You can try the xPack GNU Arm Embedded GCC, it provides support for 32-bit Arm platforms:
Where to get, or how to build toolchain "aarch64 for aarch64 linux"?
View all questions in GNU Toolchain forum