New answers tagged

0

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=...


0

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


-1

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: https://www.raspberrypi.org/forums/viewtopic.php?t=251721


Top 50 recent answers are included