I am new to Linux using x86_64 Manjaro and am learning to compile. I am trying to build an arm cross-compile environment, but I am confused about some packages. I would like to ask you to help me by telling me which packages I should choose to install so that it will be easier. I would like to find the correct and easy way to install the arm cross-compile toolchain.
I searched and read something about cross-compile toolkit on Arch wiki Cross-compiling tools package guidelines, and then followed the tutorials on the wiki arm-none-eabi-* to install the packages:
pacman -S arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-gdb arm-none-eabi-newlib
It worked, but I wasn’t quite sure if I was doing it correctly, and then I successfully compiled the program without errors. I tested and compiled the program successfully. Since there are more tutorials on the subject under ubuntu, it was easy for me to get support and build the environment I wanted to work in. What toolchain or packages do I need to install to cross-compile an arm program under x86_64 arch / manjaro?
Mingyu Lu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.