cross compiling with gcc help
I need to cross compile some code for the arm architecture for an assignment and I'm having troubles getting it done. I know I'm missing some cross-compile dependencies so I need some help knowing which one to get. The code is for a Raspberry Pi. Once I get the right dependencies, will this be the right command?
gcc -march=arm -o mycode mycode.c