changes.mady.by.user Aaron Chan (RIT Student)
Saved on Jan 19, 2023
tar -xvf <gcc-arm-tar.bz2> -C <desired compiler location>
Edit ~/.bashrc or ~/.zshrc depending on your shell and append the following line
~/.bashrc
~/.zshrc
export GCC_ARM_TOOLS_PATH=<your_path_to_gcc_arm>/bin
On fish, it's ~/.config/fish/config.fish
~/.config/fish/config.fish
set -gx GCC_ARM_TOOLS_PATH <your_path_to_gcc_arm>/bin
On MacOS there are two possible locations you may need to put the line above. Execute the command below to determine where to place the line
echo "$SHELL"
If you got /bin/zsh then add the export to ~/.zshrc , if you have /bin/bash then add the export to ~/.bash_profile .
/bin/zsh
/bin/bash
~/.bash_profile
source ~/.bashrc or ~/.zshrc or ~/.config/fish/config.fish
On MacOS source ~/.zshrc if you have ZSH or ~/.bash_profile if you have bash
...