gcc

Which -mcpu option must be used to gcc-compile for an arm processor ?

Which -mcpu option must be used to gcc-compile for an arm processor ?

-mcpu specifies the name of the target ARM processor. GCC uses this name to determine what kind of instructions it can emit when generating assembly code.
These are the -mcpu options used for ARM processors with gcc.