View Single Post
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#7
Originally Posted by geekdoc
I was looking for the options for compiling.
I managed to find

http://gcc.gnu.org/onlinedocs/gcc-3....M-Options.html

does anyone know which ones we should use?
other than arm926ejs and armv5te?
mcpu=arm926ejs, march=armv5te, and -Ox should set the flags in an optimal manner, depending on the -O option you use (-O0, -O1, -O2, -O3, or -Os). You shouldn't have to worry about the other options, unless you're attempting to optimize for a specific application.