title: Which version of arm gnu toolchain should I use to run on Rpi 4B?
body: <p>I want to use Raspberry Pi 4B to compile code for stm32. Therefore I download the &quot;AArch64 Linux hosted cross toolchains&quot; version of arm-none-eabi from this <a href="https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads" rel="nofollow noreferrer">website</a>. Then I <code>scp</code> to Rpi and unzip it.</p>
  <p>But I cannot execute it. The shell told me that <code>cannot execute binary file: Exec format error</code>. Did I download the worng version?</p>
  <p>The architecture of Rpi is &quot;armv7l&quot; and the OS I'm using is Pi OS(buster). I thought it belongs to &quot;AArch64 Linux hosted&quot;.</p>
  <p>Thank you ~</p>