I am about to install https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
how to install under Linux (WSL)?
Thanks.
* Installing executables on Linux *Unpack the tarball to the install directory, like this:
$ cd ${install_dir} && tar xjf gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
* Invoking GCC *
$ ${install_dir}/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc
Set path like this:
$ export PATH=$PATH:${install_dir}/gcc-arm-none-eabi-10.3-2021.10/bin $ arm-none-eabi-gcc --version
How to set $PATH a permanent?
This is a Linux configuration rather than anything specific to the gcc tools.
https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix
(Aside - I have moved this thread to compiler forum)