New answers tagged


All answers are great! But ensure that you are using the latest cross-compiler 10.2.0 For setting up your environment see this .. Cross Compiler: Installation Instructions GCC provides great documentation for ARM devices and which flags work best (GCC documentation) Create a hello.c file for hello world and try this: arm-linux-gnueabihf-gcc hello.c -march=...


From man make. A status of two will be returned if any errors were encountered.


as STEJ's answer suggested, run uname -m. If you have arm64 then it's 64bit and if you have armv7l, then it's 32bit For more information:

Top 50 recent answers are included