How do I compile for a specific architecture? Like ARM V6?
Question
How do I compile for a specific architecture? Like ARM V6?Answer
Add the -march=arch
option to your command-line. For example, to compile for
the ARM V6 architecture, use the -march=armv6
option.
This entry was last updated on 8 March 2013.