Step 1 : Install ARM tool-chain =============================== .. tab-set:: .. tab-item:: Install ARM tool-chain * In this program, you are going to learn .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow * How to ? .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Download AArch64 ELF bare-metal target (aarch64-none-elf) ` .. _barelinux_rpi_3b_step3_0: .. tab-set:: .. tab-item:: Download AArch64 ELF bare-metal target (aarch64-none-elf) * Make sure current dir is $HOME .. code-block:: c $ cd $HOME * To download AArch64 ELF bare-metal target use the below link, * `AArch64 ELF bare-metal target `_ * Alternatively download using wget command .. code-block:: c $ 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. .. code-block:: c $ tar -xvf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz * Open the .bashrc file .. code-block:: c $ 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. .. code-block:: c 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 .. code-block:: c $ source ~/.bashrc .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow What is /.bashrc file? .. dropdown:: See Answer * ??