Step 2 : Install ARM tool-chain
In this program, you are going to learn
How to ?
Topics in this section,
Make sure current dir is $HOME
$ cd $HOME
To download AArch64 ELF bare-metal target use the below link,
Alternatively download using wget command
$ wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
To extract or unzip files from tar.gz files, use the below command.
$ tar -xvf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
Open the .bashrc file
$ vim ~/.bashrc
At the end give the path of tool-chain that we downloaded before, using the export. Replace the $HOME with the actual path.
export PATH=$PATH:$HOME/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf/bin
Use below command to reflect the changes in the .bashrc file
$ source ~/.bashrc
What is /.bashrc file?
See Answer
??